Non-Cryptographic High-Performance Hashes · Non-blocking Worker

    Fast Hash Generator (xxHash & CityHash)

    Calculate lightning-fast xxHash (32/64-bit) and Google CityHash (32/64-bit) hashes designed for high-performance memory indexing, bloom filters, and hash tables.

    100% Client-Side Local Execution Web Worker Sub-Thread Engine
    Input Editor0 chars · 1 lines
    Ready to generate with chosen Salt & Key
    Fast (xxHash & CityHash) Preview
    Format:
    xxHash64256-bit digest
    Enter text, drop a file, or fetch a URL above and click Generate Hash...
    Hash Verification & Compare Tool
    Paste expected checksum or hash to compare
    RAM Speed Limit

    Up to 31.5 GB/s Throughput

    Operates at the physical bandwidth limits of system memory (RAM), delivering instant hash calculation across billions of keys without CPU bottlenecks.

    Yann Collet / Google

    xxHash & CityHash Engines

    Computes industry-standard xxHash32, xxHash64, xxHash3, CityHash32, and CityHash64 algorithms passing the rigorous SMHasher quality test suite.

    Database Sharding

    Hash Tables & Bloom Filters

    The gold standard for in-memory HashMaps (Rust, C++, Go), RocksDB Bloom filters, Redis caching keys, and Apache Kafka partition routing.

    Zero Uploads

    100% Client-Side Web Workers

    All non-cryptographic hash calculations execute in your local browser sandbox with zero network transmission and total privacy.

    High-Speed Architecture Features

    What Features Does This Fast Hash Generator Provide?

    Engineered for high-performance database developers, systems architects, and cache engineers:

    1. Multi-Gigabyte Speed

    Calculates hashes at up to 31.5 GB/s across xxHash32, xxHash64, CityHash32, and CityHash64 algorithms.

    2. In-Memory Key Simulation

    Test exact hash distribution for Bloom filters, database shard partitioning, and Rust/C++ HashMaps.

    3. Live Verifier & Matcher

    Verify expected 32-bit or 64-bit checksums with real-time character match confirmation and Hamming bit diffs.

    4. Web Worker Sub-Threading

    Calculates multi-gigabyte ISOs and large files in background threads with zero UI freezes or dropped frames.

    5. Multi-Line Batch Mode

    Paste large dumps of string keys or URL paths to generate fast 32-bit / 64-bit integer hashes simultaneously.

    6. Multiple Output Formats

    View outputs formatted in Hexadecimal (8 or 16 chars), Base64, Raw Binary, or Unsigned Decimal integers.

    7. Manifest Export & Seed Control

    Export generated hashes as structured JSON or text manifests with optional seed key configurations.

    8. 100% Client-Side Privacy

    Zero network transmissions. All non-cryptographic hashes are calculated entirely inside your browser sandbox.

    Non-Cryptographic Algorithms
    SMHasher 10/10 · In-Memory Indexing

    What are Fast Non-Cryptographic Hashes (xxHash & CityHash)?

    Fast non-cryptographic hash functions are specialized mathematical algorithms designed for extreme computational throughput in memory-bound computing environments. Unlike cryptographic hashes (such as SHA-256 or BLAKE3), which prioritize mathematical irreversibility and tamper-proofing at the cost of execution speed, fast hashes are engineered to operate at the physical speed limits of system RAM (up to 31.5 GB/s).

    These algorithms provide the high-performance backbone for in-memory hash tables (HashMaps in Rust, C++, and Go),RocksDB and Cassandra Bloom filters, Redis and Memcached cache key routing,Google BigTable distributed indexing, and real-time network packet deduplication.

    Real-World Speed Benchmark Comparison (SMHasher Suite)

    Throughput benchmarks measured on modern 64-bit x86-64 hardware with AVX2 vectorization:

    AlgorithmThroughputRelative SpeedSMHasher ScorePrimary Application
    xxHash3 (64-bit / AVX2)31.5 GB/s60.5x vs SHA-256100% Passed (Quality 10/10)In-memory database keys, high-volume telemetry indexing
    xxHash6419.4 GB/s37.3x vs SHA-256100% Passed (Quality 10/10)64-bit HashMaps, RocksDB block cache, Kafka partitioning
    CityHash64 (Google)14.8 GB/s28.4x vs SHA-256100% Passed (Quality 10/10)Google BigTable indexing, ClickHouse distributed hash tables
    xxHash329.8 GB/s18.8x vs SHA-256100% Passed (Quality 10/10)32-bit embedded platforms, web game asset deduplication
    MurmurHash3 (32-bit)3.5 GB/s6.7x vs SHA-256100% Passed (Quality 9/10)Legacy Java Guava Bloom filters, Cassandra tokens
    SHA-256 (Baseline)0.52 GB/s1.0x (Baseline)Cryptographic (Slow)Digital signatures, security tokens, blockchain proofs

    How to Compute xxHash in Code

    Production-ready code snippets in Node.js/TypeScript, Python 3, Rust, Go, and C/C++.

    typescript
    import xxhash from "xxhash-wasm";
    
    async function main() {
      const { h32, h64, h32Raw, h64Raw } = await xxhash();
      const input = "The quick brown fox jumps over the lazy dog";
    
      // 1. xxHash 32-bit (8 hex chars)
      const hash32 = h32(input);
      console.log("xxHash32:", hash32.toString(16).padStart(8, "0")); // Output: e854210b
    
      // 2. xxHash 64-bit (16 hex chars)
      const hash64 = h64(input);
      console.log("xxHash64:", hash64.toString(16).padStart(16, "0")); // Output: 0b242d361fda71bc
    }
    main();
    Architecture FAQ

    Frequently Asked Questions About Fast Hashes & xxHash

    Related Developer Tools

    Explore more free developer tools to speed up debugging, testing, and development.