OSCommerce Product Manager for Windows
FS#285 - Use a checksum to verify the integrity of the server answers.
Attached to Project:
OSCommerce Product Manager
Opened by Mario A. Valdez-Ramirez (mvaldez) - Monday, 03 October 2005, 20:43 GMT
Last edited by Mario A. Valdez-Ramirez (mvaldez) - Sunday, 15 July 2007, 22:54 GMT
Opened by Mario A. Valdez-Ramirez (mvaldez) - Monday, 03 October 2005, 20:43 GMT
Last edited by Mario A. Valdez-Ramirez (mvaldez) - Sunday, 15 July 2007, 22:54 GMT
|
DetailsWhne sending and receiving information to/from the server-side script, the data should include a checksum, and the application should calculate the checksum and verify it matches the expected one.
This is to improve the data integrity. We can even use HMAC to veify the authenticity at the same time (at the expense of more processing time). |
This task depends upon
RFC 2104
HMAC: Keyed-Hashing for Message Authentication
http://www.faqs.org/rfcs/rfc2104.html
As most operations have and END sentence, we cat attach the checksum to it.