@hackage base641.0
A modern Base64 library
Categories
License
BSD-3-Clause
Maintainer
Emily Pillmore <emilypi@cohomolo.gy> , Sofia-m-a <https://github.com/sofia-m-a>
Links
Versions
Installation
Tested Compilers
Dependencies (5)
- base >=4.18 && <4.23
- bytestring >=0.11 && <0.13
- deepseq >=1.4.4.0 && <1.6
- text >=2.0 && <2.3
- text-short ^>=0.1 Show all…
Dependents (46)
@hackage/biscuit-haskell, @hackage/ram, @hackage/hs-aws-lambda, @hackage/haskoin-core, @hackage/haskoin-node, @hackage/yesod-session-persist, Show all…
Base64
Base64 encoding and decodings.
For the companion optics and pattern synonyms, see base64-lens.
Summary
The following types are supported for both std, padded url-safe, and unpadded url-safe alphabets:
Data.ByteStringData.ByteString.LazyData.ByteString.ShortData.TextData.Text.LazyData.Text.Short
Additionally this library has
- Better performance than
base64-bytestringfor encode and decode. - Optics for handling more complex structures with Base64 representations via the
base64-lenspackage - Checks for both validity and correctness of Base64 and Base64url encodings
- Rejects non-canonical encodings that do not roundtrip in other base64 libraries like
ZE==.
There are no dependencies aside from those bundled with GHC, text-short, and the ghc-byteorder re-export.