Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Difference between Hashing and Encryption?

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 312
    Comment on it

    Hashing: A hashing is a protected version from string or text in the form of string or number. A string or number is generally have a fixed length.
    Hashing is a irreversible process, when we apply hashing on some string then it can't be decoded. So, hashing is useful when we not need original data.
    Hashing is generally used to save password. Password is stored in hashed version in database. When user enters his password, we apply the same hashing algorithm and then compare the new version with previous saved hashed version. If both are same it means password is correct.

     

    Encryption: Encryption is a process to transform the data in such a form such that it is kept secret from others. Encryption transform in such a format such that it can only readable for specific person. It is a reversible process. We get the original text using the same key that we use for encryption.

    Encryption is generally used to send secure message to the outside world. When receiver receives the message, it decrypted using same key and gets the original message.

     

    Hashing      Encryption
    1. Irreversible process 1. Reversible process
    2. It is not easy to get the same original input. 2. It is quite easy to get original value using the same key in encryption and decryption.
    3. Have fixed of length of string of characters. 3. Not necessary have fixed length of string.
    4. It doesn't require key. 4. It requires encryption  key.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: