First of all, I say sry to Kenneth personally as he answers the mail
to my personal address and everytime I hit reply I didn't realize that
I was sending mails to him. Sry Kennet...
In what topic concern I was replying that with a little of work I
understand how sha-1 format is with the 4bit hexad
Sebastián Treu wrote:
> are thes equivalent to each others? or should I use the openssl
> toolkit? I ask this cause sha1sum results are 41 bytes long. the
> SHA-1() doc says 20bytes for output.
Check whether the binary sha1 hashes are being encoded along the way. A
common way to encode sha1 hashe
Sha1sum output has 40 hexadecimal symbols. Each hexadecimal is
represented by 4 bits. So sha1sum has 40*4=160bits/20bytes output.
Probably you made some confusion about the sha1sum output representation.
2009/12/2 Sebastián Treu :
> Hi,
>
> I'm reading this:
>
> http://www.openssl.org/docs/crypto
Hi,
I'm reading this:
http://www.openssl.org/docs/crypto/sha.html
"[...]
DESCRIPTION
SHA-1 (Secure Hash Algorithm) is a cryptographic hash function with a
160 bit output.
SHA1() computes the SHA-1 message digest of the n bytes at d and
places it in md (which must have space for SHA_DIGEST_LENG