p:hash : add CRC

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 UTC