otp-io
Version:
🕖 Typed library to work 2fa via Google Authenticator/Time-based TOTP/Hmac-based HOTP
15 lines (11 loc) • 526 B
text/typescript
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";