Kedar Sabnis wrote:
in some specific case SHA1 digest is coming as 152 bits long instead of 160 bits long.
All possible 160 bits values have the same chance of being the output of a SHA1 digest, *including* those that comprise long strings of all zeros or all ones.
This mean that, statistically, for 256 SHA1 hash values you generate you get one for which the initial byte is all zero. Depending on your code, this may make that value look like it's only 152 bits long instead of 160.
______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org