By Thomas Bhatia (thomas.bhatia@eo.io)
A fast IETF RFC 4648 compliant Base32 library for Erlang.
Supports the following algorithms:
- Base32 alphabet
- encoding
- decoding
Add Besu32 to your rebar.config dependencies:
{deps, [
{besu32,{git , "git@github.com:thomasbhatia/besu32.git", {tag, "v0.5.0"}}}
]}.
besu32:encode(<<"The quick brown fox jumps over the lazy dog">>).
<<"KRUGKIDROVUWG2ZAMJZG653OEBTG66BANJ2W24DTEBXXMZLSEB2GQZJANRQXU6JAMRXWO===">>
besu32:decode(<<"KRUGKIDROVUWG2ZAMJZG653OEBTG66BANJ2W24DTEBXXMZLSEB2GQZJANRQXU6JAMRXWO===">>).
<<"The quick brown fox jumps over the lazy dog">>