gcry_pk_encrypt
do a public key encryption
#include <gcrypt.h>
int gcry_pk_encrypt
GCRY_SEXP *result
GCRY_SEXP data
GCRY_SEXP pkey
Description
public key functions
gcry_pk_encrypt
gcry_pk_encrypt performs public key encryption
operations. The caller has to provide a public key as the &sexp;
pkey> and data> as a &sexp;
with just one MPI in it. The function returns a &sexp; which may
be passed tp to pk_decrypt.
Later versions of this functions may take more complex input data.
Returns: 0 or an errorcode.
s_data = (