Root > Reference > All Units > EEncrypt Unit

EEncrypt Unit

Previous pageReturn to chapter overviewNext page   

Encryption support unit.

 

Remarks

This unit contains routines for symmetrical (TEA cipher, Twofish cipher) and asymmetrical (RSA cipher) encryption and decryption, as well as digital signing and verification (RSA cipher).

Note

Encryption is often confused with encoding and hashing, but they are not the same. All three transform data into another format. Both encoding and encryption are reversible, and hashing is not.

 

The purpose of encryption is to transform data in order to keep it secret from others, e.g. sending someone a secret letter that only they should be able to read, or securely sending a password over the Internet. Encryption transforms data into another format in such a way that only specific individual(s) can reverse the transformation. It uses a key, which is kept secret, in conjunction with the plaintext and the algorithm, in order to perform the encryption operation.

 

The purpose of encoding is to transform data so that it can be properly (and safely) consumed by a different type of system, e.g. binary data being displayed to human, or being sent over email. The goal is not to keep information secret, but rather to ensure that it’s able to be properly consumed.

 

Unlike encoding and encryption - hashing is not reversible process, it will tale arbitrary input and produce fixed-length result, so same input always produce the same output. Additionally, any modification of a given input should result in drastic change to the hash.

 

Use EEncrypt unit for encryption, EEncoding unit for encoding, EHash unit for hasing, ESignature unit for reading certificate info from executables.

 

 

See also




Send feedback... Build date: 2024-09-30
Last edited: 2024-09-30
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_unit_eencrypt.php