I have created a URL that consist of some parameter like client id , expiry date and so on. Among these parameters I have one parameter called "Signature" which is hmac encrypted to maintain the security. Now the final URL getting generated is of length greater than the column length in which it is supposed tobe stored. Changing the length of the DB column is not a feasible solution. Now how should i shorten the URL to store it in the column?
The first approach i took was to also encryt the generated URL using HMAC encryption. But as this generated URL is to be used by a third party application and that HMAC encrypted values are impossible to be decryted to the original data . Now I am not sure how to store this URL in groovy file