 | cryptocipher-0.2: Symmetrical Block and Stream Ciphers | Contents | Index |
|
| Crypto.Cipher.Camellia | | Portability | Good | | Stability | experimental | | Maintainer | Vincent Hanquez <vincent@snarc.org> |
|
|
|
| Description |
| this only cover Camellia 128 bits for now, API will change once
192 and 256 mode are implemented too
|
|
| Synopsis |
|
|
|
| Documentation |
|
| data Key |
| Constructors | | Instances | |
|
|
| initKey :: [Word8] -> Either String Key |
|
| encrypt :: Key -> ByteString -> ByteString |
| encrypt with the key a bytestring and returns the encrypted bytestring
|
|
| decrypt :: Key -> ByteString -> ByteString |
| decrypt with the key a bytestring and returns the encrypted bytestring
|
|
| Produced by Haddock version 2.7.2 |