cryptocipher-0.3.1: Symmetrical Block, Stream and PubKey Ciphers

LicenseBSD-style
MaintainerVincent Hanquez <vincent@snarc.org>
Stabilityexperimental
PortabilityGood
Safe HaskellNone
LanguageHaskell98

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 -> ByteString Source

encrypt with the key a bytestring and returns the encrypted bytestring

decrypt :: Key -> ByteString -> ByteString Source

decrypt with the key a bytestring and returns the encrypted bytestring