UNPKG

otp-io

Version:

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

16 lines • 258 B
/** * * * @export * @class SecretKey */ class SecretKey { /** * Creates an instance of SecretKey. * @param {Uint8Array} bytes * @memberof SecretKey */ constructor(bytes) { this.bytes = bytes; } }export{SecretKey};