===========================================
POP HASH
===========================================

Hash data using a supported hash algorithm

Usage: pop hash
       pop hash <COMMAND>

Commands:
  blake2  Hashes data using the BLAKE2b cryptographic hash algorithm
  keccak  Hashes data using the Keccak cryptographic hash algorithm
  sha2    Hashes data using the SHA-2 cryptographic hash algorithm
  twox    Hashes data using the non-cryptographic xxHash hash algorithm
  help    Print this message or the help of the given subcommand(s)

Options:
  -h, --help  Print help

===========================================
WHAT IT DOES
===========================================

Computes cryptographic hash of data using various algorithms:
- blake2: BLAKE2b (default)
- keccak: Keccak-256
- sha2: SHA-256
- twox: xxHash (non-cryptographic)

===========================================
USAGE
===========================================

# Hash with Blake2 (default)
pop hash blake2 "Hello World"

# Hash with Keccak
pop hash keccak "Hello World"

# Hash with SHA-2
pop hash sha2 "Hello World"

# Hash with TwoX
pop hash twox "Hello World"

===========================================
USE CASES
===========================================

- Verify runtime hash
- Calculate storage keys
- Verify contract code hash
- Data verification

===========================================
EXAMPLES
===========================================

# Hash string
pop hash blake2 "Hello World"

# Hash file contents
pop hash blake2 "$(cat file.txt)"

# Verify contract hash
pop hash blake2 "$(cat target/ink/my_contract.wasm)"

# Compare hashes
HASH1=$(pop hash blake2 "data1")
HASH2=$(pop hash blake2 "data2")
if [ "$HASH1" == "$HASH2" ]; then
  echo "Hashes match"
fi
