UNPKG

otp-io

Version:

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

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