Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Instances
type DESSecretKey = SecretKey DES Source #
pattern DESSecretKey :: ByteString -> SecretKey DES Source #
getDESSecretKey :: SecretKey DES -> ByteString Source #
type DESCiphertext = Ciphertext DES Source #
desEncrypt :: SecretKey DES -> ByteString -> Maybe DESCiphertext Source #
desDecrypt :: SecretKey DES -> DESCiphertext -> Maybe ByteString Source #
desEncryptLazy :: SecretKey DES -> ByteString -> Maybe DESLazyCiphertext Source #
desDecryptLazy :: SecretKey DES -> DESLazyCiphertext -> Maybe ByteString Source #
Instances
type TripleDESSecretKey = SecretKey TripleDES Source #
pattern TripleDESSecretKey :: ByteString -> SecretKey TripleDES Source #
tripleDESEncryptLazy :: SecretKey TripleDES -> ByteString -> Maybe TripleDESLazyCiphertext Source #
tripleDESDecryptLazy :: SecretKey TripleDES -> TripleDESLazyCiphertext -> Maybe ByteString Source #