UNPKG

otp-io

Version:

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

5 lines (4 loc) • 156 B
import { Hmac } from "./hmac"; import type { RandomBytes } from "./random"; export declare const hmac: Hmac; export declare const randomBytes: RandomBytes;