Encryption can be viewed as a process of locking the confidential message inside a box.
Decryption can be viewed just inverse of encryption, process of unlocking the message for reading by one who is authorized.
Encryption and decryption done using the same key is Private Key Cryptography aka Symmetric Key Cryptography. The ciphers developed by such encryption are called as symmetric or secret ciphers. Here the secret key is shared among sender and receiver.
Consider Alice and Bob as sender and receiver respectively and plain-text is the original message to be sent to Bob. This plaintext is first converted into ciphertext by applying encryption algorithm and is then transmitted towards Bob. Alice, while encryption uses a secret key which is also shared with Bob who uses it for decrypting the message received from Alice. This means that both Alice and Bob need a secure channel for exchanging the key. Traditional ciphers were generated by using this technique of Private Key Cryptography.
Decryption can be viewed just inverse of encryption, process of unlocking the message for reading by one who is authorized.
Encryption and decryption done using the same key is Private Key Cryptography aka Symmetric Key Cryptography. The ciphers developed by such encryption are called as symmetric or secret ciphers. Here the secret key is shared among sender and receiver.
Consider Alice and Bob as sender and receiver respectively and plain-text is the original message to be sent to Bob. This plaintext is first converted into ciphertext by applying encryption algorithm and is then transmitted towards Bob. Alice, while encryption uses a secret key which is also shared with Bob who uses it for decrypting the message received from Alice. This means that both Alice and Bob need a secure channel for exchanging the key. Traditional ciphers were generated by using this technique of Private Key Cryptography.


