Sky.Core.Encoding
Sky.Core.Encoding — text encoding helpers (Layer 3 Sky source).
Values
base32Decode : String -> Result Error String
The inverse of [`base32Encode`]. The input must be the canonical padded
base32DecodeNoPad : String -> Result Error String
The inverse of [`base32EncodeNoPad`]. Padded input is an `Err`; the other
base32Encode : String -> String
RFC 4648 §6 base32, standard alphabet (`A`–`Z`, `2`–`7`), padded with `=`
base32EncodeNoPad : String -> String
[`base32Encode`] without the `=` padding (the form TOTP secrets and many
base32HexDecode : String -> Result Error String
The inverse of [`base32HexEncode`], with the rules of [`base32Decode`].
base32HexEncode : String -> String
RFC 4648 §7 base32hex (`0`–`9`, `A`–`V`), padded. Its text sorts in the
base64Decode : String -> Result Error Stringbase64Encode : String -> StringhexDecode : String -> Result Error StringhexEncode : String -> StringurlDecode : String -> Result Error StringurlEncode : String -> String