Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
saveKS :: EncryptionKey -> ClearText -> KS EncrypedCopyData Source #
restoreKS :: EncrypedCopyData -> EncryptionKey -> KS ClearText Source #
mkAESKeyKS :: EncrypedCopy -> [ClearText] -> KS AESKey Source #
decryptKS :: PrivateKey -> RSASecretData -> KS ClearText Source #
decryptE :: PrivateKey -> RSASecretData -> E ClearText Source #
encryptRSAKS :: PublicKey -> AESKey -> KS RSAEncryptedKey Source #
decryptRSAKS :: PrivateKey -> RSAEncryptedKey -> KS AESKey Source #
decryptRSAE :: PrivateKey -> RSAEncryptedKey -> E AESKey Source #
oaep :: OAEPParams Source #
signKS :: PrivateKey -> ClearText -> KS RSASignature Source #
encryptAESKS :: AESKey -> ClearText -> KS AESSecretData Source #
encryptAES :: AESKey -> IV -> ClearText -> AESSecretData Source #
decryptAES :: AESKey -> AESSecretData -> ClearText Source #
randomIVKS :: KS IV Source #
generateKeysKS :: KS (PublicKey, PrivateKey) Source #
generateKeysKS_ :: Int -> KS (PublicKey, PrivateKey) Source #
decodeDERE :: ASN1Object a => ByteString -> E a Source #
encodeDER :: ASN1Object a => a -> ByteString Source #
test_crypto :: Bool Source #