Skip to content

otplib API Documentation / @otplib/core / types / Base32EncodeOptions

Type Alias: Base32EncodeOptions ​

Base32EncodeOptions = object

Defined in: packages/core/src/types.ts:155

Base32 encoding/decoding options

Properties ​

padding? ​

optional padding?: boolean

Defined in: packages/core/src/types.ts:161

Whether to include padding characters (=) Default: false (Google Authenticator compatible) Note: RFC 4648 specifies padding should be included

Released under the MIT License.