Computer Cryptography

Cryptography is the science of transformingsame key to encrypt and decrypt the blocks. DES
messages to make them secure and immune toencrypts a 64-bit plaintext block using a 64-bit key. It is
attack. The literal meaning of cryptography is "secretwidely used in military, aerospace and intelligence
writing". If the original message is sent through ainstitutions because of its fast operation and security.
network, then any hacker can get access and changeTriple DES - It is advanced from DES since three keys
its meaning. To ensure the security of the message,are used in succession to encrypt a message. It has
the original message is transformed to ciphertext usingalso increased the key size to 112 bits.
an encryption algorithm by the sender. And theAES (Advanced Encryption Standard) - AES is a very
receiver uses a decryption algorithm to transform thecomplex round cipher with three different key sizes:
ciphertext back into plaintext.128, 192, or 156 bits.
Encryption and decryption algorithms are called ciphers.IDEA (International Data Encryption Algorithm) - It was
And those algorithms operate on a set of numbersdeveloped by Xuejia Lai and james Massey. The
called Key. To encrypt a message, we need anblock size is 64 bits and key size is 128 bits.
encryption algorithm, encryption key and the plain text.Blowfish - It was developed by Bruce Schneier. The
These create the ciphertext. Similarly to decrypt ablock size is 64 and key size between 32 and 448.
message, we need a decryption algorithm, decryptionCAST-128 - It was developed by Carlisle Adams and
key and the ciphertext. These reveal the plaintext. InStafford Tavares. The block size is 64 bits and key
cryptography three characters (Alice, Bob, and Eve)size is 128 bits.
are very popular. Alice is the person who sendsRC5 - RC5 was designed by Ron Rivest. It has
message and Bob is the recipient. Eve disturbs thisdifferent block size and key sizes.
communication by intercepting message to uncoverAsymmetric-Key Cryptography
the data.This uses two keys: a private key and a public key.
There are 2 types of ciphers (cryptographyPublic key is used to encrypt to message whereas
algorithms)private key is used to decrypt. The public encryption
1- Symmetric-key or Secret key Cryptographykey is made available to whoever wants to use it, but
2- Asymmetric-key or Public key Cryptographythe private key is kept secret by the key owner. The
Symmetric-Key Cryptographyprocess is explained below:
In Symmetric-Key Cryptography, the same key is- If A wants to send a message to B, the message is
used by both sender and receiver. So the key mustencrypted by A using B's public key.
be known to both parties. The traditional ciphers are- If B receives the message, the message is
substitution cipher and transposition cipher. Adecrypted by using B's private key. No other recipient
substitution cipher substitutes one symbol with another.can decrypt the message.
For example, we can replace character B with G andRSA - It is most commonly used public key algorithm. It
F with X. In a transposition cipher, location of ais named by its inventors name Rivest, Shamir, and
character is changed in the ciphertext. Let's discussAdelman (RSA). It uses two numbers as the public and
some important symmetric ciphers.private keys. RSA is useful for short messages and
DES (Data Encryption Standard) - DES is aalso used in digital signatures. But it is very slow if the
symmetric-key block cipher designed by IBM. A blockmessage size is long.
cipher divides the plaintext into blocks and uses the