Copyright | (c) 2012 Magnus Therning |
---|---|
License | BSD3 |
Safe Haskell | None |
Language | Haskell98 |
Implemented as specified in RFC 4648 (http://tools.ietf.org/html/rfc4648).
The difference compared to vanilla Base64 encoding is just in two
characters. In Base64 the characters /+
are used, and in Base64Url they
are replaced by _-
respectively.
Please refer to Codec.Binary.Base64 for the details of all functions in this module.
Documentation
b64u_encode_part :: ByteString -> (ByteString, ByteString) Source
encode :: ByteString -> ByteString Source
decode :: ByteString -> Either (ByteString, ByteString) ByteString Source