Initializing help system before first use

RSAprivdecrypt

RSAprivdecrypt


Purpose
Decrypt a document using an RSA private key.
Synopsis
function RSAprivdecrypt(kfile:string, src:string, dest:string):integer
Arguments
kfile 
File containing the private key
src 
Name of the file to decrypt
dst 
Name of the file to store the decrypted document
Return value
Length of the resulting document or -1 in the case of an error.
Further information
This function is used to decrypt a document that has been encrypted using RSApubencrypt. It requires the private part of the key used for encryption.
Related topics
Module