W3C home > Mailing lists > Public > w3c-ietf-xmldsig@w3.org > April to June 2008

Re: An error

From: Thomas Roessler <tlr@w3.org>
Date: Mon, 7 Apr 2008 11:30:52 -0700
To: Mitar <mitar@tnode.com>
Cc: w3c-ietf-xmldsig@w3.org
Message-ID: <20080407183052.GG345@iCoaster.does-not-exist.org>

On 2008-04-07 14:48:19 +0200, Mitar wrote:

> I would like to report an error on:
>
> http://www.w3.org/TR/xmldsig-core/#sec-MessageDigests
>
> It is written that base64 encoding of a SHA-1 digest is a string of 
> 20-octets. It is a 28-octets long string. (160 bits / 6 bits rounded up + 1 
> for '=')

Reading that text, it seems to say that the SHA-1 digest is a string
of 20 octets which is *then* base 64 encoded.  That's correct.

-- 
Thomas Roessler, W3C  <tlr@w3.org>
Received on Monday, 7 April 2008 18:31:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 April 2008 18:31:25 GMT