Authentication Token
Must be sent with every Cow Clicker API request.
Explanation
To create an authentication token to accompany your API requests, follow these steps:
(1) | Sort all the key/value pairs in your request in alphabetical order by key name. |
(2) | Concatenate the sorted key value pairs into a single string of the form key1=value1key2=value2, etc. |
(3) | Prepend your Cow Clicker app secret string to that string. |
(4) | Calculate the MD5 hash of the resulting value. |
(5) | Send the resulting value as the sig parameter in your request. |