otplib-core/hotpSecret

Conversion of secret to buffer for HOTP

Source:
Parameters:
Name Type Description
secret string

your secret that is used to generate the token

options.encoding string

the encoding of secret

Returns:
Type:
object