RSAprivdecrypt
RSAprivdecrypt |
Purpose
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