Root > Reference > All Types > TRSAKey

Type TRSAKey

Previous pageReturn to chapter overviewNext page   

Key for RSA encryption.

 

Unit

EEncrypt

 

Syntax

 

Code (Delphi)

TRSAKey = record

PublicKeyTEncryptBuffer;

PrivateKeyTEncryptBuffer;

end;

 

Remarks

This is private and public keys pair used for asymmetrical encryption, decryption, signing and verification by using RSA cipher.

 

You need to free this key after you have done working with it - by using RSADestroyKey function.

 

This key can be created by RSAGenKey function or be imported by RSALoadPublicKey and RSALoadPrivateKey functions. You need to be careful when handling private key part of this key. I.e. leaking private key means leaking your key.

 

Use RSAEncrypt function to encrypt (by using your public key) "clear text" data, use RSADecrypt function to decrypt (by using your private key) encrypted data and get "clear text" back.

 

Use RSASign function to sign (by using your private key) your data, use RSAVerify to verify (by using your public key) a signature.

 

 

See also




Send feedback... Build date: 2024-12-19
Last edited: 2024-12-19
PRIVACY STATEMENT
The documentation team uses the feedback submitted to improve the EurekaLog documentation. We do not use your e-mail address for any other purpose. We will remove your e-mail address from our system after the issue you are reporting has been resolved. While we are working to resolve this issue, we may send you an e-mail message to request more information about your feedback. After the issues have been addressed, we may send you an email message to let you know that your feedback has been addressed.


Permanent link to this article: https://www.eurekalog.com/help/eurekalog/topic_type_eencrypt_trsakey.php