base32hex

Implements Base 32 with extended hex alphabet based on RFC 4648 ยง7 with Base32Encoding.

Uses uppercase letters.

import { base32hex } from "oslo/encoding";

const encoded = base32hex.encode(message);
const decoded = base32hex.decodeIgnorePadding(encoded);