Wednesday, February 8, 2012

Difference between AES and RSA Encryption?

AES is a symmetric cryptographic algorithm, while RSA is an asymmetric (or public key) cryptographic algorithm. Encryption and decryption is done with a single key in AES, while you use separate keys (public and private keys) in RSA. The strength of a 128-bit AES key is roughly equivalent to 2600-bits RSA key

AES uses 10, 12, or 14 rounds. The key size that can be 128,192 or 256 bits depends on the number of rounds. AES uses several rounds in which each round is made of several stages.To provide security AES uses types of transformation. Substitution permutation, mixing and key adding each round of AES except 
the last uses the four transformations.
RSA is a commonly adopted public key cryptography algorithm.The first, and still most commonly used asymmetric algorithm RSA is named for the three mathematicians who developed it, Rivest, Shamir, and Adleman. RSA today is used in hundreds of software products and can be used for key exchange, digital 
signatures, or encryption of small blocks of data. RSA uses a variable size encryption block and a variable size key. The keypair is derived from a very large number, n, that is the product of two prime numbers chosen according to special rules. Since it was introduced in 1977, RSA has been widely used for establishing secure communication channels and for authentication the identity of service provider over insecure communication medium. In the authentication scheme, the server implements public key authentication with client by signing a unique message from the client with its private key, thus creating what is called a digital signature. The signature is then returned to the client, which verifies it using the server’s known public key.Encryption algorithms consume a significant amount of computing resources such as CPU time, memory, and battery power.

6 comments:

  1. Nice post ....so which one is more stronger in terms of security ....

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. Informative. After learning about both these options I want to know which is the best security measure. Also which of these is used in the creation of digital signatures.
    digital signature FAQ

    ReplyDelete
  4. This post is very useful to me

    ReplyDelete
  5. how to encrypt and decrypt massege using these algorithm please tell me asap

    ReplyDelete
  6. how to encrypt and decrypt massege using these algorithm please tell me asap

    ReplyDelete