<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>UKoom &#187; Security</title>
	<atom:link href="http://www.ukoom.com/tag/security/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ukoom.com</link>
	<description>Documentum, SharePoint, Alfresco, ECM...</description>
	<lastBuildDate>Tue, 25 Oct 2011 15:11:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>RSA DER Key generated by Java</title>
		<link>http://www.ukoom.com/rsa-der-key-generated-by-java.htm</link>
		<comments>http://www.ukoom.com/rsa-der-key-generated-by-java.htm#comments</comments>
		<pubDate>Mon, 02 Aug 2010 04:56:51 +0000</pubDate>
		<dc:creator>ukoom</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.ukoom.com/?p=1084</guid>
		<description><![CDATA[We can use the normal java way to generate RSA key. (for security reason, we&#8217;d better  generate 2048 bytes RSA key) But the problem is the most popular way to store RSA key is keeping them as DER format. You can get some detailed info below: http://www.cryptosys.net/pki/rsakeyformats.html Also if you want the java code to [...]]]></description>
			<content:encoded><![CDATA[<p>We can use the normal java way to generate RSA key. (for security reason, we&#8217;d better  generate 2048 bytes RSA key)</p>
<p>But the problem is the most popular way to store RSA key is keeping them as DER format.</p>
<p>You can get some detailed info below:</p>
<p>http://www.cryptosys.net/pki/rsakeyformats.html</p>
<p>Also if you want the java code to generate the RSA key in DER format and encrypt data using such keys. Please contact me. (ukoom AT gmail.com)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ukoom.com/rsa-der-key-generated-by-java.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Encryt file in java</title>
		<link>http://www.ukoom.com/encryt-file-in-java.htm</link>
		<comments>http://www.ukoom.com/encryt-file-in-java.htm#comments</comments>
		<pubDate>Thu, 13 Nov 2008 14:12:02 +0000</pubDate>
		<dc:creator>ukoom</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.ukoom.com/?p=91</guid>
		<description><![CDATA[We can use both Key and Password to encryt file. Use the Key I rewrited the DESEncryptUtil got from internet. PBE the third party utility &#8211; Jasypt is used to encrypt/decryt the file. Some useful references: Key storage and Password-Based Encryption in Java Security Handbook Keys can be stored in a number of ways: you [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal">We can use both Key and Password to encryt file.</p>
<ol style="margin-top: 0cm;" type="1">
<li class="MsoNormal">Use      the Key<span> </span>I rewrited the DESEncryptUtil      got from internet.</li>
<li class="MsoNormal">PBE<span> </span>the third party utility &#8211; Jasypt      is used to encrypt/decryt the file.</li>
</ol>
<p class="MsoNormal">Some useful references:</p>
<p class="MsoNormal"><em> Key storage and Password-Based Encryption in Java Security Handbook</em></p>
<p class="MsoNormal" style="text-indent: 12pt;"><strong><em><span> </span></em></strong><span style="font-size: 10pt;">Keys can be stored in a number of ways: you can write them down or print them, you can store them ina file, you can store them in a smart card, or you can store them in a tamperproof electronic keying </span><span style="font-size: 10pt;"> </span><span style="font-size: 10pt;">device.<span> </span><strong>The obvious countermeasure to storing your keys on dick is to encrypt them. But </strong></span><span style="font-size: 10pt;"> </span><span style="font-size: 10pt;"><strong>this solution tends to be a circular one.</strong> What do you do with the key that you used to encrypt  the keys that are stored on your computer? The answer to this dilemma is to use password-based encryption(PBE) .</span><em></em></p>
<p class="MsoNormal" style="text-indent: 12pt;"><em>The javax.crypto.spec Package of Java in a nutshell</em></p>
<p class="MsoNormal" style="margin-left: 12pt;"><em>Generating a Key from a Password </em><em><span style="font-size: 11pt;"><a href="http://blogs.msdn.com/shawnfa/archive/2004/04/14/113514.aspx"><span style="text-decoration: none; color: #000000;">http://blogs.msdn.com/shawnfa/archive/2004/04/14/113514.aspx</span></a></span></em></p>
<p class="MsoNormal" style="margin-left: 12pt;"><em> </em></p>
<p class="MsoNormal"><em><span style="font-size: 10pt;">Please feel free to contact me if you want those two utility files.</span></em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ukoom.com/encryt-file-in-java.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

