DigestIO wraps any IO object, calculating a cryptographic digest (e.g., MD5, SHA256) as data is written to it. This allows you to verify data integrity or generate checksums in real-time without requiring a separate pass over the data. Ideal for logging, file uploads, or any use case where you need both to write and hash data efficiently.

Required Ruby Version

>= 3.1

Authors

Zeke Gabrielse

Versions

  1. 0.0.1 November 08, 2024 (6.5 KB)

Pushed by

SHA 256 checksum