메인 내용으로 이동

Hex as ID

  • hex.cho.sh
  • If I generate a random 6-digit hex as an ID, how likely is a hash collision?
    • Side note, even if a hash collision occurs, all records remain in the git history, so we don't need any collision checks.
  • Nonetheless, it seems very unlikely.
  • Let's try mathematical and computational approaches to verify this.

Mathematical Approach

Computational Approach