| Copyright | (c) 2012 Magnus Therning |
|---|---|
| License | BSD3 |
| Safe Haskell | None |
| Language | Haskell98 |
Codec.Binary.Base64Url
Description
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)
b64u_decode_part :: ByteString -> Either (ByteString, ByteString) (ByteString, ByteString)
encode :: ByteString -> ByteString
decode :: ByteString -> Either (ByteString, ByteString) ByteString