<?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: Real security of our cryptographic algorithms</title>
	<atom:link href="http://diovo.com/2009/05/real-security-of-our-cryptographic-algorithms/feed/" rel="self" type="application/rss+xml" />
	<link>http://diovo.com/2009/05/real-security-of-our-cryptographic-algorithms/</link>
	<description>Startups, Programming and stuff...</description>
	<lastBuildDate>Sun, 20 May 2012 07:14:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Twylite</title>
		<link>http://diovo.com/2009/05/real-security-of-our-cryptographic-algorithms/comment-page-1/#comment-1576</link>
		<dc:creator>Twylite</dc:creator>
		<pubDate>Wed, 13 May 2009 12:56:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.diovo.com/?p=689#comment-1576</guid>
		<description>The &quot;make your algorithms replaceable&quot; approach has two edges.

On one hand it means that your software and protocols can outlast the algorithm (so you&#039;re creating software intended to be functional and secure in 10-25 years time without modifying its protocols and/or data formats in that time).

On the other hand the pluggable algorithm approach introduces a completely new class of errors and insecurity:

- You introduce an additional layer of abstraction that must be coded securely, increasing the footprint of highly trusted code.

- Is the protocol negotiation secure with respect to algorithm choice, or can an attacker force the use of a weak algorithm, defeating the entire point of pluggable algorithms?

- Can the attacker mix &amp; match algorithms (e.g. use the same RSA keypair with SHA1, SHA256 and SHA512)?   This can provide a way to extract sensitive information from the system.

- Deciding what algorithm(s) to use is always a trade-off.  This approach moves part of the trade-off decision from the developer to the end-user, but most end-users are completely unable to take an appropriate decision.

It is also well-worth noting that SHA-1 was never meant to be secure for &quot;36 billion years&quot;.  If you take a look at NIST SP800-57 you will see that a 160-bit hash function has 80 bits of security in digital signatures and hash-only applications, and should only be used for a security lifetime ending in 2010!  Applied cryptographers have long considered 80 bits of security to be insufficient for long-term (10-20 years) security.

NISTs computations take into account the current state of the art (approx. 2^54 computations per second on dedicated hardware by a  hostile adversary with government-level resources), Moore&#039;s law, historical rate of breakthroughs in algorithm or number analysis, and other factors.</description>
		<content:encoded><![CDATA[<p>The &#8220;make your algorithms replaceable&#8221; approach has two edges.</p>
<p>On one hand it means that your software and protocols can outlast the algorithm (so you&#8217;re creating software intended to be functional and secure in 10-25 years time without modifying its protocols and/or data formats in that time).</p>
<p>On the other hand the pluggable algorithm approach introduces a completely new class of errors and insecurity:</p>
<p>- You introduce an additional layer of abstraction that must be coded securely, increasing the footprint of highly trusted code.</p>
<p>- Is the protocol negotiation secure with respect to algorithm choice, or can an attacker force the use of a weak algorithm, defeating the entire point of pluggable algorithms?</p>
<p>- Can the attacker mix &amp; match algorithms (e.g. use the same RSA keypair with SHA1, SHA256 and SHA512)?   This can provide a way to extract sensitive information from the system.</p>
<p>- Deciding what algorithm(s) to use is always a trade-off.  This approach moves part of the trade-off decision from the developer to the end-user, but most end-users are completely unable to take an appropriate decision.</p>
<p>It is also well-worth noting that SHA-1 was never meant to be secure for &#8220;36 billion years&#8221;.  If you take a look at NIST SP800-57 you will see that a 160-bit hash function has 80 bits of security in digital signatures and hash-only applications, and should only be used for a security lifetime ending in 2010!  Applied cryptographers have long considered 80 bits of security to be insufficient for long-term (10-20 years) security.</p>
<p>NISTs computations take into account the current state of the art (approx. 2^54 computations per second on dedicated hardware by a  hostile adversary with government-level resources), Moore&#8217;s law, historical rate of breakthroughs in algorithm or number analysis, and other factors.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: silky</title>
		<link>http://diovo.com/2009/05/real-security-of-our-cryptographic-algorithms/comment-page-1/#comment-1575</link>
		<dc:creator>silky</dc:creator>
		<pubDate>Wed, 13 May 2009 06:45:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.diovo.com/?p=689#comment-1575</guid>
		<description>SHA-1 has been considered broken ever since the SHA-0 attack several years ago.

And the XKCD comic is fairly stupid; I mean it&#039;s clearly a joke and ignores the real world, everyday, totally valid uses of encryption.</description>
		<content:encoded><![CDATA[<p>SHA-1 has been considered broken ever since the SHA-0 attack several years ago.</p>
<p>And the XKCD comic is fairly stupid; I mean it&#8217;s clearly a joke and ignores the real world, everyday, totally valid uses of encryption.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

