rhash / RHash

Great utility for computing hash sums
http://rhash.sf.net
BSD Zero Clause License
585 stars 116 forks source link

Update rhash.py - raising an exception if you try to print a message digest, which was not given at class initialization #268

Closed todeskurve closed 2 months ago

todeskurve commented 2 months ago

this currently (v1.4.4) gives some random values...

python-side fix for this issue: https://github.com/rhash/RHash/issues/267

rhash commented 2 months ago

This PR breaks python test rhash_test.py. In particular the test_store_and_load test doesn't work, because loading rhash context from a saved state does not restore the _hash_ids list.

This issue has been fixed by d7bc9fae05cee430bdb5b8255234be55dca2299f and 0d199f6de69eeade976fc8f7c8b904b439cc625e by another method. The downside is that the Python part will only work when using librhash compiled with the fix.