UNPKG

otp-io

Version:

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

12 lines (11 loc) • 523 B
export { SecretKey } from "./key"; export { exportKey, generateKey, importKey } from "./key.actions"; export { Hmac, HmacAlgorithm } from "./crypto/hmac"; export { RandomBytes } from "./crypto/random"; export { hotp } from "./hotp"; export { HOTP } from "./hotp.class"; export { HOTPOptions, getDefaultHOTPOptions } from "./hotp.options"; export { totp } from "./totp"; export { TOTP } from "./totp.class"; export { TOTPOptions, getDefaultTOTPOptions } from "./totp.options"; export { getKeyUri, UriOptions } from "./uri";