Skip to content

otplib API Documentation / @otplib/core / createBase32Context

Function: createBase32Context()

createBase32Context(base32): Base32Context

Defined in: packages/core/src/base32-context.ts:67

Create a Base32Context from a Base32 plugin

Parameters

base32

Base32Plugin

The Base32 plugin to use

Returns

Base32Context

A new Base32Context instance

Released under the MIT License.