Add 'Haskell Functions'
parent
9d5e7cb7c8
commit
31602581db
1 changed files with 19 additions and 0 deletions
19
Haskell-Functions.md
Normal file
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.
|
Loading…
Reference in a new issue