mhash
« Back to VersTracker
Description:
Uniform interface to a large number of hash algorithms
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Security
Tags: cryptography hashing security library checksums
Install: brew install mhash
About:
Mhash is a library that provides a uniform interface to a large number of hash algorithms and checksums. It supports popular algorithms like MD5, SHA1, SHA256, and Tiger, allowing developers to implement cryptographic functions without worrying about specific implementations. The library is designed to be thread-safe and easy to integrate into C and C++ applications.
Key Features:
  • Supports over 30 hash algorithms including MD5, SHA1, and SHA256
  • Thread-safe and reentrant design
  • Simple, uniform API across all algorithms
  • Lightweight C library with minimal dependencies
Use Cases:
  • Implementing file integrity verification and checksums
  • Building cryptographic applications requiring hash functions
  • Password hashing and authentication systems
Alternatives:
  • OpenSSL – More comprehensive but heavier; Mhash is lighter and focused solely on hashing
  • libsodium – Modern crypto library with different focus; Mhash is simpler for basic hashing needs
Version History
Detected Version Rev Change Commit
Sep 16, 2025 2:24am 0 VERSION_BUMP 9a7b0d54
Nov 3, 2024 2:07pm 0 VERSION_BUMP 5ac26b0a