Introduction to Cryptography and Security

 

Cryptography means science of keeping message secure. cryptography is the study of the mathematical algorithms and functions used to secure messages.

 

Basic Terminology of Cryptography

 

Plaintext: Plaintext describes the state of a message that can be easily read or used by anyone or anything. This can be a text file or an executable.

 

Cipher text: To make plain text unreadable by the user use algorithm to encrypt, called Cipher text.  

 

Hashes: Hashes are used to create a unique, compact value for a message. The message, or pre-image, is used as input to the hash algorithm.

 

Keys: One essential part to encryption algorithms is the key. Think of this just as you would a key to a safe. You can put messages into a safe, but if your enemies don't have the key or a copy of it, reading the message is a lot harder for them. In encryption algorithms, the key is used to alter the message during the encryption process

 

Symmetric algorithms: A symmetric key algorithm uses the same key to encrypt and decrypt a message

 

Asymmetric algorithms: Asymmetric key-based algorithms consist of two keys that are generated by an algorithm to handle the encryption and decryption