Hashing a string is to run it through a deterministic function (known as the hash function) that produces a fixed-size output

Common Properties:

  • Deterministic - same input -> same hash
  • Fixed Size - No matter the input length, output length is constant
  • Fast to compute
  • (In cryptographic hashes) Hard to Reverse - Given the hash you feasibly cannot return the original string (one way)