Quantcast
Channel: Adobe Community : All Content - All Communities
Viewing all articles
Browse latest Browse all 290743

How to decrypt a URL

$
0
0

I encrypted a url that i would like to pass to another page, but can't seem to get it to decrypt it. This is the first time i am using this technic, so i might not be doing it right. Just been reading alot of the examples on the web and can't get it to work for me.

 

== Encrypted ==

<h3>URLEncodedFormat Example</h3>

<cfscript>

  theKey=generateSecretKey("AES");

  encrypted=encrypt(#qEdit.PersonID#, theKey, "AES", "HEX");

</cfscript>

<cfoutput>

  <a href="##" onclick="MM_openBrWindow('test2.cfm?Picture=#encrypted#','','resizabl e=yes,width=500,height=500')">Test Encode</a>

</cfoutput>

 

The encryption works fine in the url, but now i'm not sure how to decrypt it on my other page.


Viewing all articles
Browse latest Browse all 290743

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>