Skip to content

otplib API Documentation / @otplib/core / MIN_SECRET_BYTES

Variable: MIN_SECRET_BYTES

const MIN_SECRET_BYTES: 16 = 16

Defined in: packages/core/src/utils.ts:39

Minimum secret length in bytes (128 bits as per RFC 4226)

Released under the MIT License.