 HsOpenSSL0.3: (Part of) OpenSSL binding for Haskell  Contents  Index 





Description 
Asymmetric cipher decryption using encrypted symmetric key. This
is an opposite of OpenSSL.EVP.Open.


Synopsis 



Documentation 

seal 
:: Cipher  symmetric cipher algorithm to use
 > [PKey]  A list of public keys to encrypt a
symmetric key. At least one public key must
be supplied. If two or more keys are given,
the symmetric key are encrypted by each
public keys so that any of the
corresponding private keys can decrypt the
message.
 > String  input string to encrypt
 > IO (String, [String], String)  (encrypted string, list of
encrypted asymmetric keys,
IV)
 seal lazilly encrypts a stream of data. The input string
doesn't necessarily have to be finite.



sealBS 
:: Cipher  symmetric cipher algorithm to use
 > [PKey]  list of public keys to encrypt a symmetric
key
 > ByteString  input string to encrypt
 > IO (ByteString, [String], String)  (encrypted string,
list of encrypted
asymmetric keys, IV)
 sealBS strictly encrypts a chunk of data.



sealLBS 
:: Cipher  symmetric cipher algorithm to use
 > [PKey]  list of public keys to encrypt a
symmetric key
 > LazyByteString  input string to encrypt
 > IO (LazyByteString, [String], String)  (encrypted
string, list of
encrypted
asymmetric keys,
IV)
 sealLBS lazilly encrypts a stream of data. The input string
doesn't necessarily have to be finite.



Produced by Haddock version 0.8 