Hashing

A hashing algorithm is a mathematical function that shortens the data to a fixed size.

example

Input

“The Quick Brown Fox Jumps Over The White Lazy Dog”

MD5 Hashing algoritm output

54a4cbe2eadcdb37493b4e66b47fe965

This resultant value is known as hash value.

Uses of Hashing algorithms

  • Speed: due to shortened data,
  • Run calculations on data: Easy to compare shortened values
  • Security: Encrypt Passwords

Popular Hashing Algorithms

MD5, SHA-1, SHA-2, SHA-256,  SHA-384

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Blog at WordPress.com.

Up ↑

Design a site like this with WordPress.com
Get started