- base32-encode STRINGprocedure
Encodes STRING (raw bytes) as RFC 4648 base32, using the standard A-Z2-7 alphabet and = padding. Used internally by totp-key-uri to encode the secret for the provisioning URI, and useful on its own for displaying or parsing a secret for manual entry.