UNPKG

xotp

Version:

One-Time Password (HOTP/TOTP) library for Node.js, Deno and Bun, with support for Google Authenticator.

3 lines (2 loc) 210 B
export declare const base32Encode: (arr: Uint8Array, format?: "RFC4648" | "RFC4648_HEX") => string; export declare const base32Decode: (base32Encoded: string, format?: "RFC4648" | "RFC4648_HEX") => Uint8Array;