cryptocipher-0.2.5: Symmetrical Block, Stream and PubKey Ciphers

PortabilityGood
Stabilityexperimental
MaintainerVincent Hanquez <vincent@snarc.org>

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