Abstract
- The output value produced by a Hash Function, commonly formatted as hex or Base 64 Encoding
- It is infeasible to reverse back the original text with the hash digest only
Vulnerable to Brute-force attacks
Can by hacked by Rainbow table - Wikipedia. You can try to hash of common text and hack using this website
One way to counter it is to use Salting
Generate Hash Digest using Nodejs
Example use case
Store secrete data in plaintext in the hash form (e.g Password)
Common Hash Algorithms
MD5 (Message Digest)
- A Hashing Algorithm that can be broken
SHA256 (Secure Hash Algorithm)
- A Hashing Algorithm that produces a fix length of Digest that is 256-bits