santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Cantor" <>
Subject RE: Basic hash value question
Date Tue, 05 Dec 2006 22:54:38 GMT
> As far as I understand, the DigestValue is the base64 
> representation of the calculated binary hash value. How can I 
> compare this calculated SHA1 hash value with the one 
> calculated with a different tool where the hash value looks 
> something like 8011 FAB5 3D6D 20D0 E8B5 3F72 00F1 7D81 E8F1 F050?

If you have a hex encoded version of a hash, you have to convert that back
to binary form and then you can base64 encode that to compare it.

-- Scott

View raw message