<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Notes: ColdFusion 8 Application Security</title>
	<atom:link href="http://blog.crankybit.com/notes-coldfusion-8-application-security/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.crankybit.com/notes-coldfusion-8-application-security/</link>
	<description>Take a byte out of tech!</description>
	<lastBuildDate>Wed, 08 Feb 2012 15:54:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: RealTime - Questions: "Encrypt plain text passwords already in database?"</title>
		<link>http://blog.crankybit.com/notes-coldfusion-8-application-security/#comment-63050</link>
		<dc:creator>RealTime - Questions: "Encrypt plain text passwords already in database?"</dc:creator>
		<pubDate>Wed, 01 Dec 2010 19:41:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/notes-coldfusion-8-application-security/#comment-63050</guid>
		<description>[...] to Use Mutt Email Client with Gmail An overview of core security features in TYPO3 4.3 &#124; PIT Blog! Cranky Bit &#187; Notes: ColdFusion 8 Application Security [...]</description>
		<content:encoded><![CDATA[<p>[...] to Use Mutt Email Client with Gmail An overview of core security features in TYPO3 4.3 | PIT Blog! Cranky Bit &raquo; Notes: ColdFusion 8 Application Security [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://blog.crankybit.com/notes-coldfusion-8-application-security/#comment-42604</link>
		<dc:creator>David</dc:creator>
		<pubDate>Fri, 09 Apr 2010 10:01:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/notes-coldfusion-8-application-security/#comment-42604</guid>
		<description>Unable to find a constructor for class javax.crypto.spec.SecretKeySpec that accepts parameters of type ( java.lang.String, java.lang.String ). 

I&#039;m getting this error message after run the above code. any idea?</description>
		<content:encoded><![CDATA[<p>Unable to find a constructor for class javax.crypto.spec.SecretKeySpec that accepts parameters of type ( java.lang.String, java.lang.String ). </p>
<p>I&#8217;m getting this error message after run the above code. any idea?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JonnyWipperSnapper</title>
		<link>http://blog.crankybit.com/notes-coldfusion-8-application-security/#comment-23997</link>
		<dc:creator>JonnyWipperSnapper</dc:creator>
		<pubDate>Mon, 22 Dec 2008 16:28:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/notes-coldfusion-8-application-security/#comment-23997</guid>
		<description>Fantastic!  I really needed this!</description>
		<content:encoded><![CDATA[<p>Fantastic!  I really needed this!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pablo Varando</title>
		<link>http://blog.crankybit.com/notes-coldfusion-8-application-security/#comment-10354</link>
		<dc:creator>Pablo Varando</dc:creator>
		<pubDate>Tue, 18 Dec 2007 04:57:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/notes-coldfusion-8-application-security/#comment-10354</guid>
		<description>Code example... (original post the code was removed)

[!--- Java Crypto Object to Secret Key ---]
[cfset Seckey = CreateObject(&quot;Java&quot;, &quot;javax.crypto.spec.SecretKeySpec&quot;) /]

[!--- BASE 64 Decoder ---]
[cfset B64Decoder = CreateObject(&quot;Java&quot;, &quot;sun.misc.BASE64Decoder&quot;) /]
[!--- Cipher ---]
[cfset Dcipher = CreateObject(&quot;Java&quot;, &quot;javax.crypto.Cipher&quot;) /]


[cfset Seckey     = Seckey.init(SharedKeyB64Decoded, &quot;DESede&quot;) /]
[cfset Dcipher	  = DCipher.getInstance(&quot;DESede&quot;) /]
[cfset DTest 	  = Dcipher.init(DCipher.ENCRYPT_MODE, Seckey) /]

[!--- pass the byte array and finalize the dcipher object --- /]
[cfset EncryptedText = B64Encoder.encode(Dcipher.doFinal(PlainText.getBytes())) /]</description>
		<content:encoded><![CDATA[<p>Code example&#8230; (original post the code was removed)</p>
<p>[!--- Java Crypto Object to Secret Key ---]<br />
[cfset Seckey = CreateObject("Java", "javax.crypto.spec.SecretKeySpec") /]</p>
<p>[!--- BASE 64 Decoder ---]<br />
[cfset B64Decoder = CreateObject("Java", "sun.misc.BASE64Decoder") /]<br />
[!--- Cipher ---]<br />
[cfset Dcipher = CreateObject("Java", "javax.crypto.Cipher") /]</p>
<p>[cfset Seckey     = Seckey.init(SharedKeyB64Decoded, "DESede") /]<br />
[cfset Dcipher	  = DCipher.getInstance("DESede") /]<br />
[cfset DTest 	  = Dcipher.init(DCipher.ENCRYPT_MODE, Seckey) /]</p>
<p>[!--- pass the byte array and finalize the dcipher object --- /]<br />
[cfset EncryptedText = B64Encoder.encode(Dcipher.doFinal(PlainText.getBytes())) /]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pablo Varando</title>
		<link>http://blog.crankybit.com/notes-coldfusion-8-application-security/#comment-10353</link>
		<dc:creator>Pablo Varando</dc:creator>
		<pubDate>Tue, 18 Dec 2007 04:55:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/notes-coldfusion-8-application-security/#comment-10353</guid>
		<description>A note on 8.

&quot;If you need to read it back, Encrypt() and Decrypt(). Requires a secret key to encrypt and get it back. So the key has to be somewhere were your app can read it, so be sure to protect that key. Off the webroot and in a secure manner.&quot;

You should really look to use 3DES (DeSede) or AES to encrypt your data. It is more secure then encrypt() decrypt() as it uses powerful encryption algorythms. Since ColdFusion sits on top of Java you can easily encrypt your data with the following object calls:

&lt;!--- Java Crypto Object to Secret Key ---&gt;









&lt;!--- pass the byte array and finalize the dcipher object ---&gt;


That will give you far more powerful encryption over your data and will ensure you have less of a chance of being hacked in the end.</description>
		<content:encoded><![CDATA[<p>A note on 8.</p>
<p>&#8220;If you need to read it back, Encrypt() and Decrypt(). Requires a secret key to encrypt and get it back. So the key has to be somewhere were your app can read it, so be sure to protect that key. Off the webroot and in a secure manner.&#8221;</p>
<p>You should really look to use 3DES (DeSede) or AES to encrypt your data. It is more secure then encrypt() decrypt() as it uses powerful encryption algorythms. Since ColdFusion sits on top of Java you can easily encrypt your data with the following object calls:</p>
<p><!--- Java Crypto Object to Secret Key ---></p>
<p><!--- pass the byte array and finalize the dcipher object ---></p>
<p>That will give you far more powerful encryption over your data and will ensure you have less of a chance of being hacked in the end.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Mac</title>
		<link>http://blog.crankybit.com/notes-coldfusion-8-application-security/#comment-4646</link>
		<dc:creator>Steve Mac</dc:creator>
		<pubDate>Thu, 27 Sep 2007 06:17:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/notes-coldfusion-8-application-security/#comment-4646</guid>
		<description>It’s very good article. Great site with very good look and perfect information.</description>
		<content:encoded><![CDATA[<p>It’s very good article. Great site with very good look and perfect information.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

