W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > May 2008

p:hash : add reference and replace sha1 by sha with a version parameter

From: Innovimax SARL <innovimax@gmail.com>
Date: Thu, 1 May 2008 11:53:33 +0200
Message-ID: <546c6c1c0805010253x1155748fmac70f4a8d55626c1@mail.gmail.com>
To: "XProc WG" <public-xml-processing-model-wg@w3.org>
Please add reference to sha1 and md5 (RFC 1321) implementation

Please change 'sha1' to 'sha' and add a version parameter which could be '0,
'1', '256', '384', '512' (or any other number, but those are standardised)

I should say the same for md5, but as md4 has never been in real use I'm ok
with letting

Another possitibility is to add an "p:option" with the name "version" to the
p:hash step since almost all hashing algorithm have versions

If we go that way I would rename "md5" to "md" and "sha1" to "sha" and say
that

(algorithm=md, version=5) and (algorithm=sha, version=1) are mandatory

With the previous mail, I would propose those values :

algorithm in (crc, md, sha, whirlpool & ripemd)

Mohamed

-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 9 52 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 
Received on Thursday, 1 May 2008 09:54:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 1 May 2008 09:54:07 GMT