Skip to main content

what is symmetric and asymmetric key cryptography?

Symmetric  key cryptography ? 

Symmetric key cryptography is oldest method of encrypting the message.It is a simplest method that involves only one secret key.This secret key is a simple text like number,string,letter,etc.
A simple example of symmetric key encryption is that suppose I want to send " hello " to someone then to encrypt it I will replace every text of this message into third text like for 'h' I will replace it with 'k' and 'e' with 'h' . so..
our message is : ----   Hello
Encrypted message is :---khoor

so if the unauthorised person read the encrypted message the he is not able to understand it .So our message is always be secure from unauthorized acess.

Example :- RC4, FISH, Py, QUAD, SNOW etc.


Asymmetric key cryptography?

Asymmetric encryption is also called public key cryptography.This is new technique instead of symmetric key cryptography.Asymmetric key cryptography uses two keys to encrypt the message .one is publicly available and another is private .
if someone wants to send message to me then I have private key and public key has them who wants to send message.
Example : RSA,SSH,etc.


Comments

Popular posts from this blog

what is a RSA encryption ??

what is a RSA encryption ?? RSA : - Rivest-Shamir-Adleman (these are the name of RSA inventors.) RSA is a encryption algorithm which is used to send message securely in the internet.RSA is a public key algorithm widely used for secure data transmission.In public key algorithm we used two keys for data transmission : one is public and another is private key.We use public key for data encryption and private key for data decryption .  RSA is based on the principle that it is easy to multiply large numbers, but factoring large numbers is very difficult. In RSA, the public key is generated by multiplying two large prime numbers and  together, and the private key is generated through a different process involving  and . A user can then distribute his public key , and anyone wishing to send the user a message would encrypt their message using the public key. Algorithm of RSA :- Choose two large prime numbers P and Q such that P is not equals of Q. Calculate ...