Skip to content

Documents for @litert/otp / Constants / DEFAULT_DIGEST

Variable: DEFAULT_DIGEST

const DEFAULT_DIGEST: SHA1 = EDigest.SHA1

Defined in: Constants.ts:54

The default value for the digest algorithm used in the OTP generation.

WARNING: Not all authenticator apps support all digest algorithms. The most widely supported is SHA1.