Module
Codec.Encryption.Utils
- Package
- purescript-des
- Repository
- jacereda/purescript-des
#charsBytes Source
charsBytes :: Array Char -> Array Int
Decompose an array of chars into an array of byte values.
#bytesChars Source
bytesChars :: Array Int -> Array Char
Compose an array of chars from an array of byte values.
#encryptText Source
encryptText :: Word64 -> String -> Array Word64
Encrypt a string with the given key.
#decryptText Source
decryptText :: Word64 -> Array Word64 -> String
Decrypt a string with the given key.