xxHash is an extremely fast non-cryptographic hash algorithm, working at RAM speed limit. It is proposed in four flavors (XXH32, XXH64, XXH3_64bits and XXH3_128bits). The latest variant, XXH3, offers improved performance across the board, especially on small data. It successfully completes the SMHasher test suite which evaluates collision, dispersion and randomness qualities of hash functions. Code is highly portable, and hashes are identical across all platforms (little / big endian). Performance on large data is only one part of the picture. Hashing is also very useful in constructions like hash tables and bloom filters. In these use cases, it's frequent to hash a lot of small data (starting at a few bytes). Algorithm's performance can be very different for such scenarios, since parts of the algorithm, such as initialization or finalization, become fixed cost. The impact of branch misprediction also becomes much more present.

Features

  • XXH3 has been designed for excellent performance on both long and small inputs
  • You can download and install xxHash using the vcpkg dependency manager
  • Finally, xxHash provides its own massive collision tester
  • The xxHash port in vcpkg is kept up to date by Microsoft team members and community contributors
  • Beyond the C reference version, xxHash is also available from many different programming languages
  • Many distributions bundle a package manager which allows easy xxhash installation as both a libxxhash library and xxhsum command line interface

Project Samples

Project Activity

See All Activity >

License

BSD License

Follow xxHash

xxHash Web Site

Other Useful Business Software
Build innovative business apps powered by process automation Icon
Build innovative business apps powered by process automation

Connect workflows, teams and systems within one digital business transformation platform

Manage your business as a unified system of interacting processes. Use BPMN 2.0 for low-code process modeling by business people. Follow your strategic goals with process architecture that always corresponds to the structure of an actual business.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of xxHash!

Additional Project Details

Operating Systems

Linux

Programming Language

C

Related Categories

C Cryptography Software, C Algorithms, C Encryption Algorithms

Registered

2021-10-22