Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
billy nasty #1
Decrypt function and cfgrid
Hi,
I want to use the grid together with the decrypt function.
so i have a grid populated from a query. and one column contains a encrypted
value in my db. and i want to see it decrypted in my grid. but i can't seem to
get my variable in the grid.
Any chance you guys could help me out on this one. i searched the internet for
that matter but until now no help.
billy nasty Guest
-
Actionscript Function to Reload CFGrid
I'm looking for some guidance on how to use actionscript to reload a cfgrid on an onclick event. I am currently using getURL() to call a cfc to... -
3DES encrypt in vb.net with decrypt in classic asp
Hello, We split a classic asp application into two apps as we start migrating to ..net. Now we have a need to pass encrypted data from the .net... -
Decrypt string encrypted with SHA1
No, it is not possible. SHA1 is a hashing algorithm and as any other hashing algorithm (e.g. MD5, SHA-256, etc) it does not support decryption. ... -
Troubles with CAPICOM EnvelopedData.Decrypt
I use EnvelopedData from CAPICOM library to encrypt and decrypt security info on my ASP site. I got and installed test VerySign certificate on my... -
PGP decrypt perl script
Hello. I am in need of direction on where I might find a perl script that will automatically decrypt pgp files that have been FTP'd to a server. ... -
Stressed_Simon #2
Re: Decrypt function and cfgrid
Post the code you have and we shall see. How did you enrypt the data in the first place?
Stressed_Simon Guest
-
billy nasty #3
Re: Decrypt function and cfgrid
to encode my string i do it like this
<cfset ckey = "1a6">
<cfset encryptCCNr = Encrypt(#Form.CCNumber#, ckey)>
so now i want this encrypted value to be decrypted in my cfgrid.
but because my grid is populated with a query.
i cant get a variable in a column.
for decrypting
<cfset ckey = "1a6">
#Decrypt(TravelCards.CCNumber, ckey)#
thanks for the help
greets Billy
billy nasty Guest
-
billy nasty #4
Re: Decrypt function and cfgrid
hi,
i found it out myself. maybe it can be useful to others.
<cfform name="test" action="quer.cfm" format="flash">
<cfgrid name="gried" rowheaders="true" height="300" insert="yes" delete="yes"
insertbutton="Insert" deletebutton="Delete" selectmode="edit" width="400">
<cfgridcolumn name="cc" header="cc" >
<cfgridcolumn name="firma" header="Firma">
<cfgridcolumn name="rid" header="id" display="no">
<cfloop query="ts">
<cfset ckey = "CFMX_COMPAT">
<cfgridrow data="#Decrypt(ts.cc, ckey)#,#ts.firma#,#ts.rid#">
</cfloop>
</cfgrid>
<cfinput type="submit" name="submit" value="submit">
</cfform>
billy nasty Guest



Reply With Quote

