Cryptographic/ripemd160 library

🔐 RIPEMD-160 Cryptographic Hash Algorithm Implementation

A production-ready implementation of the RIPEMD-160 hashing algorithm used in Bitcoin addresses and other blockchain systems. This implementation provides both single-shot hashing and streaming capabilities for large data processing.

Features:

  • RFC 1320 compliant RIPEMD-160 implementation
  • Optimized for performance with minimal memory allocation
  • Comprehensive error handling and validation
  • Thread-safe implementation suitable for concurrent environments
  • Produces 160-bit (20-byte) hash output

Time complexity: O(n) where n is the length of input data Space complexity: O(1) constant space usage

Example:

final hash = RIPEMD160.hash('Hello, World!');
print(hash); // 8476ee4631b9b30ac2754b0ee0c47e161d3f724c

Classes

RIPEMD160
RIPEMD-160 hash algorithm implementation
RIPEMD160Constants
RIPEMD-160 hash constants and initial values