PrivateDecrypt
Sub PrivateDecrypt ( PrivateKey As Long, ClearText As String [, Cookie As Long] ) As String |
In the synchronous mode the PrivateDecrypt
function decrypts given encrypted string with a private key and returns decrypted string.
In the asynchronous mode, the function returns empty string immediately and spawns
decryption internally. After the decryption is done, OnDecryptionFinished
is fired. For more information about decryption in the asynchronous mode please see Async mode.
If an error happens theError
property of ActiveCrypt contains the error code. For information about an error code,
please see Error property. If the function succeeds the Error
contains the value of ERR_OK.
|