Oslo

base32hex

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

import { base32hex } from "oslo/encoding";

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