Add 'Haskell Functions'

pitmutt 2023-06-14 16:31:46 +00:00
parent 9d5e7cb7c8
commit 31602581db

19
Haskell-Functions.md Normal file

@ -0,0 +1,19 @@
# Haskell Functions
## Utils
## `decodeHexText :: String -> ByteString`
Decodes a hex-encoded string into bytes.
## `decodeBech32 :: ByteString -> RawData`
Takes the bytestring representation of the encoded string and produces `RawData`.
## `f4Jumble :: ByteString -> ByteString`
Takes the input bytes and applies the [F4Jumble](https://zips.z.cash/zip-0316#jumbling) transformation.
## `f4UnJumble :: ByteString -> ByteString`
Takes the input bytes and applies the [inverse F4Jumble](https://zips.z.cash/zip-0316#jumbling) transformation.