Skip to content

basalt / auth/src / base32Encode

Function: base32Encode() ​

> base32Encode(bytes): string

Defined in: auth/src/totp.ts:6

RFC 4648 base32 encode (no padding, uppercase) — the format authenticator apps expect.

Parameters ​

bytes ​

Uint8Array

Returns ​

string

Released under the MIT License.