Massimo Gaggiano
2015-06-06 23:02:42 UTC
Hi all,
I create an "HASH_SHA1" object and update its value two times,
consecutively.
Finally I get the hash value, only after the second update. Though I
don't know what does this digest come from.
Can you give me any explanation?
I did expect that the final hash value was the second input value's
digest but, evidently, I'm wrong.
Thank you very much.
Max
------------------------------------------------------------------------------
I create an "HASH_SHA1" object and update its value two times,
consecutively.
Finally I get the hash value, only after the second update. Though I
don't know what does this digest come from.
Can you give me any explanation?
I did expect that the final hash value was the second input value's
digest but, evidently, I'm wrong.
Thank you very much.
Max
------------------------------------------------------------------------------