--============_-1242031387==_ma============
Content-Type: text/plain; charset="us-ascii" ; format="flowed"

On 9/27/00, Randy Adkins penned:
>You can use the standard encrypt and decrypt in Cold Fusion.
>
><cfset thisValue = "#cc_info#">
><cfset mykey = "fubar">
><cfset Encrypted_info = encrypt(thisValue,mykey)>
>
>
>Then decrypt it as needed:
>
><cfset origvalue = decrypt(thisvalue,"fubar")>

The last line should read:
<cfset origvalue = decrypt(encrypted_info,"fubar")>

But that's not why I'm writing. I just encrypted 5424000000000015 and 
the encrypted value is:
0"@/=__S6[H3/0^G':I<(R%D

How secure is that? Just curious. The same number encrypted with cfx_pgp is:

-----BEGIN PGP MESSAGE-----
Version: CFX_PGP 1.07 - http://www.digitaloutlook.com/cfx_store

qANQR1DBwk4DAuVQ2B6kACEQC/0QgM6QiBObHMkCVDd98gKFv0NCiVt4Y3Qi+uEa
qUk7KdIJi1kVZZVjoCcI5gqOqJN6BrjticQThhypd6qRIO4fO5Q1q9OICxpO9BS9
ImN6voP+ailogDPrn48zEA3rzX/WDt6/Dg0exg9ychHriBKsADlWzqGYh6NcLmJK
bMWWoN0urVxK9juP0jPSy37eWjEgKZFzC+GtfbT9ADwGErlG88wdZvn244LjTe47
1uKrxxdM098d8KQBSgsZsHpcKeK9B8K/TxF+PzqMbwKHLKfe6PPEpvcsm4NRiXTq
TO6MI6Mks3/VJvIla6ayhCsVTe5XnU3LPdMb4t0EEYcdrRkMERC3v0gdak+Tsdlp
p9cPhq9uscdQfr+pkIN/Tx9QO1vPPLUbGTvC1oDsfr5/EKWFT6xKu6QUXvDAXzyY
aukhw8E/n/dVmRa4tvu5XePz704lMHSRkp/10TQGHsGSCePS/pTSvSbesJkEEtUq
dlvkoUh3MuPHMczS7dEOAJuNSWIL/idbFNj78u3faCdIciJIlKdtsvkKuzibcl5j
gv17lgj04ybtP9s5lfbqtI9+GiWI1kY2pKDp9ArFCGGTHILYZBFYDWp66DETaM5h
NjVLYxxkitQhQafNEeJarPt97xvhPAow8Rw3df9BDKnOCxahMLDShqFyv85vRryq
zFi7tDW39mdoecTDhfboyebRcaPO7V25Acgupxz3llVIQHrQrJ3rmi7Fa4OoUEBA
jEJ1O6YMvC2A4JzP9r9hcw7cag6Awmqvg/v58maIjzlBSv+C2j3CagCFh0W/TJ8G
4lM1hMhert5is2s15BqenbMIPJM3jpZOFl3lJC4TGt0iEsyZjsz9D8SF10ikVufW
qi16NFp+FaVzswxW9wlS0B5dQG6dyCtPT/v/1lqFBoG19CXE/GpcCniPM4sW9t7O
lH75tqYG117IJpxq4nGu++0SeOIXVUhsHZaYWouHaFXn/KixeAahVnnmtyeIo25T
LgQT3AncSHczj78Y5R4BcL53pXGIR8kfNGEegZNZPJsHdvvCyuvYWAFR9UchH29n
tat4hDNE/A==
=pGDq
-----END PGP MESSAGE-----
-- 

Bud Schneehagen - Tropical Web Creations

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ColdFusion Solutions / eCommerce Development
[EMAIL PROTECTED]
http://www.twcreations.com/
954.721.3452
--============_-1242031387==_ma============
Content-Type: text/html; charset="us-ascii"

<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { margin-top: 0 ; margin-bottom: 0 }
 --></style><title>RE: Encrypting a credit card
field...</title></head><body>
<div>On 9/27/00, Randy Adkins penned:</div>
<blockquote type="cite" cite>You can use the standard encrypt and
decrypt in Cold Fusion.<br>
<br>
&lt;cfset thisValue = &quot;#cc_info#&quot;&gt;<br>
&lt;cfset mykey = &quot;fubar&quot;&gt;<br>
&lt;cfset Encrypted_info = encrypt(thisValue,mykey)&gt;<br>
<br>
<br>
Then decrypt it as needed:<br>
</blockquote>
<blockquote type="cite" cite>&lt;cfset origvalue =
decrypt(thisvalue,&quot;fubar&quot;)&gt;</blockquote>
<div><br></div>
<div>The last line should read:</div>
<div>&lt;cfset origvalue =
decrypt(encrypted_info,&quot;fubar&quot;)&gt;</div>
<div><br></div>
<div>But that's not why I'm writing. I just encrypted
5424000000000015 and the encrypted value is:</div>
<div>0&quot;@/=__S6[H3/0^G':I&lt;(R%D</div>
<div><br></div>
<div>How secure is that? Just curious. The same number encrypted with
cfx_pgp is:</div>
<div><br></div>
<div><font size="-2">-----BEGIN PGP MESSAGE-----</font></div>
<div><font size="-2">Version: CFX_PGP 1.07 -
http://www.digitaloutlook.com/cfx_store<br>
<br>
qANQR1DBwk4DAuVQ2B6kACEQC/0QgM6QiBObHMkCV<span
></span>Dd98gKFv0NCiVt4Y3Qi+uEa<br>
qUk7KdIJi1kVZZVjoCcI5gqOqJN6BrjticQThhypd<span
></span>6qRIO4fO5Q1q9OICxpO9BS9<br>
ImN6voP+ailogDPrn48zEA3rzX/WDt6/Dg0exg9yc<span
></span>hHriBKsADlWzqGYh6NcLmJK<br>
bMWWoN0urVxK9juP0jPSy37eWjEgKZFzC+GtfbT9A<span
></span>DwGErlG88wdZvn244LjTe47<br>
1uKrxxdM098d8KQBSgsZsHpcKeK9B8K/TxF+PzqMb<span
></span>wKHLKfe6PPEpvcsm4NRiXTq<br>
TO6MI6Mks3/VJvIla6ayhCsVTe5XnU3LPdMb4t0EE<span
></span>YcdrRkMERC3v0gdak+Tsdlp<br>
p9cPhq9uscdQfr+pkIN/Tx9QO1vPPLUbGTvC1oDsf<span
></span>r5/EKWFT6xKu6QUXvDAXzyY<br>
aukhw8E/n/dVmRa4tvu5XePz704lMHSRkp/10TQGH<span
></span>sGSCePS/pTSvSbesJkEEtUq<br>
dlvkoUh3MuPHMczS7dEOAJuNSWIL/idbFNj78u3fa<span
></span>CdIciJIlKdtsvkKuzibcl5j<br>
gv17lgj04ybtP9s5lfbqtI9+GiWI1kY2pKDp9ArFC<span
></span>GGTHILYZBFYDWp66DETaM5h<br>
NjVLYxxkitQhQafNEeJarPt97xvhPAow8Rw3df9BD<span
></span>KnOCxahMLDShqFyv85vRryq<br>
zFi7tDW39mdoecTDhfboyebRcaPO7V25Acgupxz3l<span
></span>lVIQHrQrJ3rmi7Fa4OoUEBA<br>
jEJ1O6YMvC2A4JzP9r9hcw7cag6Awmqvg/v58maIj<span
></span>zlBSv+C2j3CagCFh0W/TJ8G<br>
4lM1hMhert5is2s15BqenbMIPJM3jpZOFl3lJC4TG<span
></span>t0iEsyZjsz9D8SF10ikVufW<br>
qi16NFp+FaVzswxW9wlS0B5dQG6dyCtPT/v/1lqFB<span
></span>oG19CXE/GpcCniPM4sW9t7O<br>
lH75tqYG117IJpxq4nGu++0SeOIXVUhsHZaYWouHa<span
></span>FXn/KixeAahVnnmtyeIo25T<br>
LgQT3AncSHczj78Y5R4BcL53pXGIR8kfNGEegZNZP<span
></span>JsHdvvCyuvYWAFR9UchH29n<br>
tat4hDNE/A==<br>
=pGDq</font></div>
<div><font size="-2">-----END PGP MESSAGE-----</font></div>

<div>-- <br>
<br>
Bud Schneehagen - Tropical Web Creations<br>
<br>
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/<br>
ColdFusion Solutions / eCommerce Development<br>
[EMAIL PROTECTED]<br>
http://www.twcreations.com/<br>
954.721.3452</div>
</body>
</html>
--============_-1242031387==_ma============--
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to