Portability | unknown |
---|---|
Stability | experimental |
Maintainer | Vincent Hanquez <vincent@snarc.org> |
- data CipherTypeFunctions
- = CipherNoneF
- | CipherBlockF (Key -> IV -> ByteString -> ByteString) (Key -> IV -> ByteString -> ByteString)
- | CipherStreamF (Key -> IV) (IV -> ByteString -> (ByteString, IV)) (IV -> ByteString -> (ByteString, IV))
- data CipherKeyExchangeType
- data Cipher = Cipher {
- cipherID :: Word16
- cipherName :: String
- cipherDigestSize :: Word8
- cipherKeySize :: Word8
- cipherIVSize :: Word8
- cipherKeyBlockSize :: Word8
- cipherPaddingSize :: Word8
- cipherKeyExchange :: CipherKeyExchangeType
- cipherMACHash :: ByteString -> ByteString
- cipherF :: CipherTypeFunctions
- cipherMinVer :: Maybe Version
- type Key = ByteString
- type IV = ByteString
- cipherExchangeNeedMoreData :: CipherKeyExchangeType -> Bool
- cipher_null_null :: Cipher
- cipher_null_SHA1 :: Cipher
- cipher_null_MD5 :: Cipher
- cipher_RC4_128_MD5 :: Cipher
- cipher_RC4_128_SHA1 :: Cipher
- cipher_AES128_SHA1 :: Cipher
- cipher_AES256_SHA1 :: Cipher
- cipher_AES128_SHA256 :: Cipher
- cipher_AES256_SHA256 :: Cipher
Documentation
data CipherTypeFunctions Source
CipherNoneF | |
CipherBlockF (Key -> IV -> ByteString -> ByteString) (Key -> IV -> ByteString -> ByteString) | |
CipherStreamF (Key -> IV) (IV -> ByteString -> (ByteString, IV)) (IV -> ByteString -> (ByteString, IV)) |
type Key = ByteStringSource
type IV = ByteStringSource