- generate-totp-secret #!optional (n-bytes 20)procedure
Generates a fresh n-bytes-byte secret using OpenSSL's cryptographically secure random byte generator. The RFC 4226/6238 test vectors and most authenticator apps assume a 20-byte (160-bit) secret, which is the default.