<?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: Generating RSA Key Pairs in Ruby</title>
	<atom:link href="http://stuff-things.net/2009/12/11/generating-rsa-key-pairs-in-ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://stuff-things.net/2009/12/11/generating-rsa-key-pairs-in-ruby/</link>
	<description>Paradise is exactly like where you are right now only much, much better…</description>
	<lastBuildDate>Fri, 08 Jan 2010 19:37:07 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Spike</title>
		<link>http://stuff-things.net/2009/12/11/generating-rsa-key-pairs-in-ruby/comment-page-1/#comment-594</link>
		<dc:creator>Spike</dc:creator>
		<pubDate>Fri, 08 Jan 2010 19:37:07 +0000</pubDate>
		<guid isPermaLink="false">http://stuff-things.net/?p=82#comment-594</guid>
		<description>Triple DES is considered secure and is currently not due to be phased out until 2030.  In my experience DES3 is still much more commonly used than AES to encrypt RSA keys.  However, all you need do to use AES is change:

cipher =  OpenSSL::Cipher::Cipher.new(&#039;des3&#039;)

to 

cipher =  OpenSSL::Cipher::Cipher.new(&#039;aes-128-cbc&#039;)

&#039;aes-192-cbc&#039;  and &#039;aes-256-cbc&#039; work as well.   You can, in fact, use and CBC cipher supported by OpenSSL, but DES3 and AES are the most common and thus portable choices across platforms.</description>
		<content:encoded><![CDATA[<p>Triple DES is considered secure and is currently not due to be phased out until 2030.  In my experience DES3 is still much more commonly used than AES to encrypt RSA keys.  However, all you need do to use AES is change:</p>
<p>cipher =  OpenSSL::Cipher::Cipher.new(&#8216;des3&#8242;)</p>
<p>to </p>
<p>cipher =  OpenSSL::Cipher::Cipher.new(&#8216;aes-128-cbc&#8217;)</p>
<p>&#8216;aes-192-cbc&#8217;  and &#8216;aes-256-cbc&#8217; work as well.   You can, in fact, use and CBC cipher supported by OpenSSL, but DES3 and AES are the most common and thus portable choices across platforms.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DGM</title>
		<link>http://stuff-things.net/2009/12/11/generating-rsa-key-pairs-in-ruby/comment-page-1/#comment-593</link>
		<dc:creator>DGM</dc:creator>
		<pubDate>Fri, 08 Jan 2010 05:20:04 +0000</pubDate>
		<guid isPermaLink="false">http://stuff-things.net/?p=82#comment-593</guid>
		<description>All your examples use des3, but isn&#039;t AES supposed to replace it?</description>
		<content:encoded><![CDATA[<p>All your examples use des3, but isn&#8217;t AES supposed to replace it?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
