Portability | Good |
---|---|
Stability | experimental |
Maintainer | Vincent Hanquez <vincent@snarc.org> |
this only cover Camellia 128 bits for now, API will change once 192 and 256 mode are implemented too
- data Key = Key {}
- initKey :: ByteString -> Either String Key
- encrypt :: Key -> ByteString -> ByteString
- decrypt :: Key -> ByteString -> ByteString
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