CRYPTOGRAPHY
CRYPTOGRAPHY
Cryptography uses codes to protect data and communications so only the intended receivers can
decode and understand them. Consequently, restricting access to information from outside
parties.
"Crypto" indicates "hidden," and "graphy" indicates "writing," respectively. The techniques used
in cryptography to secure data are based on mathematical principles and a set of rule-based
calculations known as algorithms to modify signals in a way that makes them challenging to
decode.
These algorithms generate cryptographic keys, create digital signatures, safeguard data privacy,
enable online browsing on the Internet, and ensure the confidentiality of private transactions like
credit and debit card payments.
messages.
8. Digital Signatures: A signature that can be applied to messages to protect the
Types of Cryptography
receiver of a message use a single common key to encrypt and decrypt messages.
Symmetric Key Systems are faster and simpler but the problem is that sender and
receiver have to somehow exchange keys in a secure manner. The most popular
symmetric key cryptography systems are Data Encryption System(DES) and Advanced
Encryption System(AES).
2. Asymmetric Key Cryptography: Under this system a pair of keys is used to encrypt and
decrypt information. A receiver’s public key is used for encryption and a receiver’s
private key is used for decryption. Public keys and Private keys are different. Even if the
public key is known by everyone, the intended receiver can only decode it because he
alone knows his private key. The most popular asymmetric key cryptography algorithm is
RSA algorithm.
3. Hash Functions: There is no usage of any key in this algorithm. A hash value with fixed
length is calculated as per the plain text which makes it impossible for contents of plain
text to be recovered. Many operating systems use hash functions to encrypt passwords.
Applications of Cryptography:
particularly when creating and maintaining passwords. When a user logs in, their
password is hashed and compared to the hash that was previously stored. Passwords
are hashed and encrypted before being stored. In this technique, the passwords are
encrypted so that even if a hacker gains access to the password database, they cannot
read the passwords.
2. Secure web browsing: Online browsing security is provided by the use of
handwritten signature and are used to sign documents. Digital signatures are created
using cryptography and can be validated using public key cryptography. In many
nations, electronic signatures are enforceable by law, and their use is expanding
quickly.
4. Authentication: Cryptography is used for authentication in many different situations,
such as when accessing a bank account, logging into a computer, or using a secure
network. Cryptographic methods are employed by authentication protocols to confirm
the user’s identity and confirm that they have the required access rights to the
resource.
5. End-to-End Encryption: End-to-end encryption is used to protect two-way
communications like video conversations, instant messages, and email. Even if the
message is encrypted, it assures that only the intended receivers can read the message.
End-to-end encryption is widely used in communication apps like WhatsApp and
Signal, and it provides a high level of security and privacy for users.
Advantages of Cryptography :-
1. Access Control: Cryptography can be used for access control to ensure that only
parties with the proper permissions have access to a resource. Only those with the
correct decryption key can access the resource thanks to encryption.
2. Secure Communication: For secure online communication, cryptography is crucial.
It offers secure mechanisms for transmitting private information like passwords, bank
account numbers, and other sensitive data over the internet.
3. Protection against attacks: Cryptography aids in the defense against various types