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

p:hash : add CRC

From: Innovimax SARL <innovimax@gmail.com>
Date: Thu, 1 May 2008 11:25:26 +0200
Message-ID: <546c6c1c0805010225r4b9f17a1v4e1c580db394af57@mail.gmail.com>
To: "XProc WG" <public-xml-processing-model-wg@w3.org>
Even if sha and md5 are very strong, weak use are still in place in V42,
Ethernet, FDDI, ZIP and PNG

They all use a CRC

I think we should allow a new value for algorithm 'crc' with three
parameters provided on 'parameters' port :

* size in bits (integer)
* polynom as a String (or hexBinary)
* polynom-form as a string amongst ("Normal", "Reverse" or
'NormalOfReciprocal")

Option 1 : we could say there is no default so you need to provide the
parameters
Option 2 : we could say that if no parameters are provided, then it will be
defaulted to size=32, polynom=0xEDB88320 and polynom-form=Reverse (which is
CRC-32-IEEE 802.3 used in V42, MPEG 2 and PNG)

Regards,

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:26:06 GMT

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