otplib-utils/secretKey

Naive secret key generation tool

Source:
Parameters:
Name Type Description
length integer

the key length

format string

any format supported by node's crypto

Returns:
Type:
string