License | BSD-style |
---|---|
Maintainer | Vincent Hanquez <vincent@snarc.org> |
Stability | experimental |
Portability | Good |
Safe Haskell | None |
Language | Haskell2010 |
Camellia support. only 128 bit variant available for now.
Synopsis
- data Camellia128
Documentation
data Camellia128 #
Camellia block cipher with 128 bit key
Instances
Cipher Camellia128 # | |
Defined in Crypto.Cipher.Camellia cipherInit :: ByteArray key => key -> CryptoFailable Camellia128 # cipherName :: Camellia128 -> String # | |
BlockCipher Camellia128 # | |
Defined in Crypto.Cipher.Camellia blockSize :: Camellia128 -> Int # ecbEncrypt :: ByteArray ba => Camellia128 -> ba -> ba # ecbDecrypt :: ByteArray ba => Camellia128 -> ba -> ba # cbcEncrypt :: ByteArray ba => Camellia128 -> IV Camellia128 -> ba -> ba # cbcDecrypt :: ByteArray ba => Camellia128 -> IV Camellia128 -> ba -> ba # cfbEncrypt :: ByteArray ba => Camellia128 -> IV Camellia128 -> ba -> ba # cfbDecrypt :: ByteArray ba => Camellia128 -> IV Camellia128 -> ba -> ba # ctrCombine :: ByteArray ba => Camellia128 -> IV Camellia128 -> ba -> ba # aeadInit :: ByteArrayAccess iv => AEADMode -> Camellia128 -> iv -> CryptoFailable (AEAD Camellia128) # |