Closed imcotton closed 2 months ago
e.g.
export function otpsecret(n = 20): string { return encodeBase32(crypto.getRandomValues(new Uint8Array(n))).replaceAll("=", "") }
This is backwards compatible addition, any thoughts?
Yes I don't think there's any restriction about the secret length according to: https://github.com/google/google-authenticator/wiki/Key-Uri-Format#secret so we could allow a customized size
e.g.
This is backwards compatible addition, any thoughts?