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

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 UTC