Hacker News new | ask | show | jobs
by waselighis 1117 days ago
The length may not be known ahead of time. Hashing algorithms generally work on streaming data. For example, suppose you wanted to hash compressed data while it's being compressed, you can't reliably predict the size of the compressed data.