base-encoding

RFC4648 Binary-to-text encodings (e.g. base64)

Latest on Hackage:0.3.0.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD-3-Clause licensed by Herbert Valerio Riedel
Maintained by [email protected]

This package provides a simple and convenient API to encode and decode binary data in the popular binary-to-text "base" encoding family as described in RFC 4648 et al.

Currently, the following encodings are supported:

  • (unpadded) base16 (RFC4648)

  • (padded) base32 (RFC4648)

  • (padded) base32hex (RFC4648)

  • (padded) base64 (RFC4648)

  • padded base64url (RFC4648)

  • unpadded base64url (RFC4648)