← all modules

Sky.Core.Encoding

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 String
  base64Encode : String -> String
  hexDecode : String -> Result Error String
  hexEncode : String -> String
  urlDecode : String -> Result Error String
  urlEncode : String -> String