UNPKG

otp-io

Version:

🕖 Typed library to work 2fa via Google Authenticator/Time-based TOTP/Hmac-based HOTP

5 lines • 151 B
'use strict';const HmacAlgorithm = Object.freeze({ SHA1: "sha1", SHA256: "sha256", SHA512: "sha512" });exports.HmacAlgorithm=HmacAlgorithm;