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 const { createHash } = require('crypto') function hash(input) { return createHash('sha256').update(input).digest("hex") } let password = 'password123' console.log(hash(password)); 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 # Output is hex encoded shasum -a 256 <FILE_NAME>