Hasher
Faux-API
The Hasher has a faux-API that can be used to directly obtain the results of a data hash without entering data via the interface.
There are two methods of using the faux-API:
- To use with a GET request: construct a URL in the form
http://tools.wackomenace.co.uk/hasher/?a=md5&d=Hello+world&f=t - To use with a POST request: send a request to
http://tools.wackomenace.co.uk/hasher/
The variables are defined as follows:
- a: The hashing algorithm to use. All valid hashing algorithms can be seen in the algorithm select box on this page.
- d: The data to be hashed.
- f: (Optional) The format of the result. Valid values are c (CSV), t (plain text) or x (XML). Any other value or the omission of this variable will display the result in a web page.
If required variables are omitted or an invalid algorithm is specified then no hashing will take place and the interface will be shown as usual. If CSV, plain text or XML is specified as the output format, then a blank page will be returned instead.
