Encrypt a secret string and send in URL [on hold]

QuestionsCategory: QuestionsEncrypt a secret string and send in URL [on hold]
Brightn-n-Fresh Staff asked 1 year ago

In Spring MVC + Tomcat application, I've a secret string which I do not want to expose to front end, hence I want to encrypt it, and use that as part of URL for further REST calls.

I am thinking of using symmetric encryption and use the HTTP session ID as the key. Any ideas on how to approach this ? and any downsides of this approach ?

(135)