Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Delphi asymmetric encryption

Tags:

People also ask

What is the main difference between RSA and Diffie-Hellman?

The RSA Algorithm can do all three: Encryption, Key Exchange, and Signatures. The Diffie-Hellman (DH) Algorithm can only be used as a Key Exchange. The Digital Signature Algorithm (DSA) can only be used for Signatures.

Can RSA be used for key exchange?

RSA can be used for services such as digital signatures, key exchanges and for encryption purposes. Providing RSA is used with a long key, it has proven to be a very secure algorithm, and provides both authentication and encryption.


I'm looking for a Delphi implementation of an asymmetric encryption algorithm without any dependencies on external DLLs. Is there any available?

My goal is to encrypt/decrypt a string (or array of bytes) using a public/private key pair.