Encoders and decoders from and to strings and blocks.
Config elementsHow to encode/decode strings to/from Base64
The Int parameter is the line length for encoding to a string.
How to encode/decode strings to/from hex.
Decode UTF-8 bytes into a string.
Encode a string as UTF-8 bytes
Config elementsHash and fold a passphrase to turn it into a raw key array.
Fold a list of integers to a specified size.
Actually XORs too-long pieces together to not lose any entropy.
Worth the effort? I don't know. Hashing probably does enough.
Convert bytes to Base64.
Convert a Base64 string to bytes. Sometimes the string is malformed.
Convert bytes to hex.
Convert a hex string to bytes. Sometimes the string is malformed.
A KeyEncoding for foldedSha256KeyEncoder