<?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>The Developer Day &#187; algorithm</title>
	<atom:link href="http://www.thedeveloperday.com/tag/algorithm/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thedeveloperday.com</link>
	<description>Staying Curious</description>
	<lastBuildDate>Tue, 27 Jul 2010 17:33:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>MySQL Top N Sort Algorithm</title>
		<link>http://www.thedeveloperday.com/mysql-top-n-sort-algorithm/</link>
		<comments>http://www.thedeveloperday.com/mysql-top-n-sort-algorithm/#comments</comments>
		<pubDate>Fri, 12 Dec 2008 16:29:46 +0000</pubDate>
		<dc:creator>Žilvinas Šaltys</dc:creator>
				<category><![CDATA[Lazyweb]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[algorithm]]></category>
		<category><![CDATA[sorting]]></category>

		<guid isPermaLink="false">http://www.thedeveloperday.com/mysql-top-n-sort-algorithm/</guid>
		<description><![CDATA[While reading planetmysql I&#8217;ve found a very interesting article about Top N Sort algorithm. It would be nice to have this implemented in MySQL. There are millions of applications that have sorted and paginated lists of data. Some of those lists are really big. For example company that I work for has a web application [...]]]></description>
			<content:encoded><![CDATA[<p>While reading <a href="http://www.planetmysql.org">planetmysql</a> I&#8217;ve found a very interesting article about <a href="http://labs.cybozu.co.jp/blog/kazuhoatwork/2008/12/using_top_n_sort_on_mysql.php" title="MySQL Top N Sort">Top N Sort algorithm</a>. It would be nice to have this implemented in MySQL. There are millions of applications that have sorted and paginated lists of data. Some of those lists are really big. For example company that I work for has a web application with a report that has milions of rows and it has to be sorted and it only shows a few hundred rows in a single page. This would definitely be a great improvement to MySQL.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thedeveloperday.com/mysql-top-n-sort-algorithm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Internet security. How safe is it?</title>
		<link>http://www.thedeveloperday.com/rsa-internet-security/</link>
		<comments>http://www.thedeveloperday.com/rsa-internet-security/#comments</comments>
		<pubDate>Mon, 07 Apr 2008 08:52:45 +0000</pubDate>
		<dc:creator>Žilvinas Šaltys</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[algorithm]]></category>
		<category><![CDATA[RSA]]></category>

		<guid isPermaLink="false">http://www.thedeveloperday.com/rsa-internet-security/</guid>
		<description><![CDATA[Did you know that most widespread encryption algorithm in electronic commerce is RSA? For two computers that have never communicated before to start a secure conversation RSA uses a public key and a private key. For example if Tom wanted to send a secure message to Suzi he would encode his message with Suzi&#8217;s public [...]]]></description>
			<content:encoded><![CDATA[<p>Did you know that most widespread encryption algorithm in electronic commerce is <a href="http://en.wikipedia.org/wiki/RSA" title="RSA encryption" target="_blank">RSA</a>? For two computers that have never communicated before to start a secure conversation RSA uses a public key and a private key.</p>
<p>For example if Tom wanted to send a secure message to Suzi he would encode his message with Suzi&#8217;s public key and send it to her. The message can only be decoded using Suzi&#8217;s secret private key that only she knows.</p>
<p>Interesting thing is that a private key is made of two large distinct random prime numbers.  And a public key is the product of those two numbers. So RSA is only as safe as it&#8217;s hard to find those two prime numbers using the public key to get the private key. But more interestingly it turns out to be almost impossible. There is no such efficient algorithm on earth to find those two prime numbers using a public key. It would take years to decrypt a single number. You can actually earn some money trying to <a href="http://en.wikipedia.org/wiki/RSA_Factoring_Challenge" title="RSA challenge" target="_blank">decrypt RSA messages</a>.</p>
<p>RSA key&#8217;s are typically 1024, 2048 bits long. A shorter 256 bit key can easily be decrypted using a home computer. A 512 key can be decrypted with a <a href="http://en.wikipedia.org/wiki/Computer_cluster" title="computer cluster" target="_blank">Computer Cluster.</a> Even 1024 is not considered really safe anymore. Even more  <a href="http://en.wikipedia.org/wiki/Shor%27s_algorithm" title="Shor's algorithm">Shor&#8217;s algorithm</a> proves that a RSA key could be decrypted as fast as a computer can do a <a href="http://en.wikipedia.org/wiki/Quicksort">quick sort</a>. Though that would require us to have a <a href="http://en.wikipedia.org/wiki/Quantum_computer" title="Quantum computer">quantum computer</a>. It&#8217;s a theoretical device by now but who knows what the future holds? <img src='http://www.thedeveloperday.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>There are other security attacks known, but they are way too much complex for a simple presentation like this. So..</p>
<p>Shop safely!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thedeveloperday.com/rsa-internet-security/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
