function toBase32(base64String) {
  const base32 = require('./edbase32');
  const raw = Buffer.from(base64String, "base64");
  return base32.encode(raw);
}
Convert a base64 to base32.
Most Time based One Time Password (TOTP)
password managers use this as the "secret key" when generating a code.

An example is: https://totp.danhersam.com/.

@returns RFC3548 compliant base32 string