|Ratings|| ||Unique User Downloads|| ||Download Rankings|
| 55%||Total: 314 This week: 1||All time: 7,246 This week: 319|
This class can encrypt and decrypt of GET query lists.
It can take a list of parameters and builds a query parameter list like those used to passed to GET parameters.
The class adds a special parameter value with the checksum of all parameter values. The result query string can be encrypted with a given key.
It can also decrypt a previously encrypted data value that contains the query string.
The class can extract the parameter values and check if the checksum parameter is correct.
Prize: One downloadable e-book of choice by O'Reilly
|One way to serialize a list of key-value pairs is to use the URL encoding that is use to form query parameters of a GET request by using = to separate the key from the value and & to separate each key-value pair.
If you want to transmit lists of values serialized this way and avoid the values can be seen by unauthorized people, you can use encryption.
However, if somebody can break the encryption and alter the values in transit you may not be able to detect if the values were altered.
This class implements a solution that uses encryption but also adds a checksum value, so in the receiving end it can be verified any changes in the transmited values.
Class is made to help with the encryption and decryption of GET queries.
It was create to replace a c# class of the same name that was posted in a request on PHPClasses.
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.