UNPKG

otp-io

Version:

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

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