cryptocipher-0.5.0: Symmetrical block and stream ciphers.

PortabilityGood
Stabilityexperimental
MaintainerVincent Hanquez <vincent@snarc.org>
Safe HaskellNone

Crypto.Cipher.Camellia

Description

this only cover Camellia 128 bits for now, API will change once 192 and 256 mode are implemented too

Synopsis

Documentation

data Key Source

Constructors

Key 

Instances

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