otplib API Documentation / @otplib/core / getDigestSize
Function: getDigestSize()
getDigestSize(
algorithm):number
Defined in: packages/core/src/utils.ts:532
Get HMAC digest size in bytes for a given algorithm
Parameters
algorithm
The hash algorithm
Returns
number
Digest size in bytes