- data Key
- encrypt :: Key -> ByteString -> ByteString
- decrypt :: Key -> ByteString -> ByteString
- initKey128 :: ByteString -> Either String Key
- initKey192 :: ByteString -> Either String Key
- initKey256 :: ByteString -> Either String Key
Documentation
encrypt :: Key -> ByteString -> ByteStringSource
encrypt with the key a bytestring and returns the encrypted bytestring
decrypt :: Key -> ByteString -> ByteStringSource
decrypt with the key a bytestring and returns the encrypted bytestring