BSD-3-Clause licensed by Bryan O'Sullivan
This version can be pinned in stack with:base64-bytestring-1.2.1.0@sha256:45305ccf8914c66d385b518721472c7b8c858f1986945377f74f85c1e0d49803,2502

Base64 Support for ByteStrings Hackage version Stackage version Build Status

This package provides a Haskell library for working with base64-encoded data quickly and efficiently, using the ByteString type.

Get involved!

Please report bugs via the GitHub issue tracker.

Master Git repository:

  • git clone git://github.com/haskell/base64-bytestring.git

Authors

This library is written by Bryan O’Sullivan. It is maintained by Herbert Valerio Riedel, Mikhail Glushenkov, and Emily Pillmore.

Changes

See also http://pvp.haskell.org/faq

1.2.1.0

1.2.0.1

  • Package update: support for bytestring >=0.11

1.2.0.0

  • Security fix: reject non-canonical base64 encoded values - (#38) fixing issue #24.

  • Security fix: reject bytestrings with improper padding that can be “completed” by the unpadded-Base64url workflow, and homogenize error messages (#33)

  • Test coverage expanded to 98% of the library. All critical paths covered.

1.1.0.0

  • joinWith has been removed (#32)
  • Bugfix: decode formerly allowed for padding chars to be interspersed in a valid base64-encoded string. This is now not the case, and it is fully spec-compliant as of #31
  • The default behavior for Base64url decode is now to support arbitrary padding. If you need strict padded or unpadded decode semantics, use decodePadded or decodeUnpadded.
  • Added strict unpadded and padded decode functions for Base64url (#30)
  • Added unpadded encode for Base64url (#26).

1.0.0.3

  • Made performance more robust (#27).
  • Improved documentation (#23).
  • Improved the performance of decodeLenient a bit (#21).

1.0.0.2

  • Fixed a write past allocated memory in joinWith (potential security issue).

0.1.1.0 - 1.0.0.1

  • Changelog not recorded for these versions.

0.1.0.3

  • Fixed: wrong encoding table on big-endian systems.
  • Fixed: too big indices in encoding table construction.

0.1.0.2

  • Changelog not recorded up to this version.