<?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>Kryptering &#187; md5</title>
	<atom:link href="http://kryptera.se/t/md5/feed/" rel="self" type="application/rss+xml" />
	<link>http://kryptera.se</link>
	<description>Information och nyheter om kryptering och IT-säkerhet</description>
	<lastBuildDate>Sun, 20 May 2012 17:49:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>	<div id='fb-root'></div>
					<script type='text/javascript'>
						window.fbAsyncInit = function()
						{
							FB.init({appId: null, status: true, cookie: true, xfbml: true});
						};
						(function()
						{
							var e = document.createElement('script'); e.async = true;
							e.src = document.location.protocol + '//connect.facebook.net/sv_SE/all.js';
							document.getElementById('fb-root').appendChild(e);
						}());
					</script>	
						<item>
		<title>John the Ripper ute i ny version</title>
		<link>http://kryptera.se/john-the-ripper-ute-i-ny-version/</link>
		<comments>http://kryptera.se/john-the-ripper-ute-i-ny-version/#comments</comments>
		<pubDate>Thu, 24 Nov 2011 20:44:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Okategoriserade]]></category>
		<category><![CDATA[bcrypt]]></category>
		<category><![CDATA[des]]></category>
		<category><![CDATA[DES S-box]]></category>
		<category><![CDATA[john the ripper]]></category>
		<category><![CDATA[knäcka lösenord]]></category>
		<category><![CDATA[LM hash]]></category>
		<category><![CDATA[lösenord]]></category>
		<category><![CDATA[lösenordsknäckning]]></category>
		<category><![CDATA[Lösenordsknäckningsverktyg]]></category>
		<category><![CDATA[md5]]></category>
		<category><![CDATA[OMP]]></category>
		<category><![CDATA[OpenMP]]></category>

		<guid isPermaLink="false">http://kryptera.se/?p=917</guid>
		<description><![CDATA[Lösenordsknäckningsverktyget (woh, långt ord) John the Ripper är nu ute i version 1.7.9. Största ändringen är att OMP-patcharna (OpenMP) nu finns med som standard. Changelog enligt följande (engelska) Added optional parallelization of the MD5-based crypt(3) code with OpenMP. Added optional parallelization of the bitslice DES code with OpenMP. Replaced the bitslice DES key setup algorithm [...]<p>F&ouml;lj oss p&aring; Twitter: <a href="http://twitter.com/kryptera">http://twitter.com/kryptera</a></p>
]]></description>
			<content:encoded><![CDATA[<div class='wpfblike' style='height: 40px;'><fb:like href='http://kryptera.se/john-the-ripper-ute-i-ny-version/' layout='default' show_faces='false' width='400' action='like' colorscheme='light' send='false' /></div><div class="alignright"><div class="g-plusone" data-href="http://kryptera.se/john-the-ripper-ute-i-ny-version/" size="tall" count="true"></div></div><p><img class="alignright size-thumbnail wp-image-746" title="John the Ripper" src="http://kryptera.se/wp-content/uploads/2011/04/John-the-Ripper-94x150.jpg" alt="" width="94" height="150" />Lösenordsknäckningsverktyget (woh, långt ord) <a href="http://kryptera.se/t/john-the-ripper/" class="st_tag internal_tag" rel="tag" title="john the ripper">John the Ripper</a> är nu ute i version 1.7.9. Största ändringen är att OMP-patcharna (<a href="http://kryptera.se/t/openmp/" class="st_tag internal_tag" rel="tag" title="OpenMP">OpenMP</a>) nu finns med som standard.</p>
<p>Changelog enligt följande (engelska)</p>
<div>
<div dir="ltr">
<ul>
<li>Added optional parallelization of the <a href="http://kryptera.se/t/md5/" class="st_tag internal_tag" rel="tag" title="md5">MD5</a>-based crypt(3) code with OpenMP.</li>
<li>Added optional parallelization of the <a href="http://kryptera.se/t/bitslice-des/" class="st_tag internal_tag" rel="tag" title="bitslice DES">bitslice DES</a> code with OpenMP.</li>
<li>Replaced the bitslice DES key setup algorithm with a faster one, which significantly improves performance at LM hashes, as well as at DES-based crypt(3) hashes when there’s just one salt (or very few salts).</li>
<li>Optimized the <a href="http://kryptera.se/t/des-s-box/" class="st_tag internal_tag" rel="tag" title="DES S-box">DES S-box</a> x86-64 (16-register SSE2) assembly code.</li>
<li>Added support for 10-character DES-based tripcodes (not optimized yet).</li>
<li>Added support for the “$2y$” prefix of bcrypt hashes.</li>
<li>Added two more hash table sizes (16M and 128M entries) for faster processing of very large numbers of hashes per salt (over 1M).</li>
<li>Added two pre-defined external mode variables: “abort” and “status”, which let an external mode request the current cracking session to be aborted or the status line to be displayed, respectively.</li>
<li>Made some minor optimizations to external mode function calls and virtual machine implementation of John the Ripper.</li>
<li>The “–make-charset” option now uses floating-point rather than 64-bit integer operations, which allows for larger CHARSET_settings in params.h.</li>
<li>Added runtime detection of <a href="http://kryptera.se/t/intel-avx/" class="st_tag internal_tag" rel="tag" title="Intel AVX">Intel AVX</a> and <a href="http://kryptera.se/t/amd-xop/" class="st_tag internal_tag" rel="tag" title="AMD XOP">AMD XOP</a> instruction set extensions, with optional fallback to an alternate program binary.</li>
<li>In OpenMP-enabled builds, added support for fallback to a non-OpenMP build when the requested thread count is 1.</li>
<li>Added relbench, a Perl script to compare two “john –test” benchmark runs, such as for different machines, “make” targets, C compilers, optimization options, or/and versions of John the Ripper.</li>
<li>Additional public lists of “top N passwords” have been merged into the bundled common passwords list, and some insufficiently common passwords were removed from the list.</li>
</ul>
<p><a href="http://kryptera.se/t/jtr/" class="st_tag internal_tag" rel="tag" title="jtr">JtR</a> kan i sedvanlig ordning laddas hem här: <a href="http://www.openwall.com/john/" target="_blank">http://www.openwall.com/john/</a></p>
</div>
</div>
<p>F&ouml;lj oss p&aring; Twitter: <a href="http://twitter.com/kryptera">http://twitter.com/kryptera</a></p>
]]></content:encoded>
			<wfw:commentRss>http://kryptera.se/john-the-ripper-ute-i-ny-version/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Så använder du molnet för lösenordsknäckning</title>
		<link>http://kryptera.se/sa-anvander-du-molnet-for-losenordsknackning/</link>
		<comments>http://kryptera.se/sa-anvander-du-molnet-for-losenordsknackning/#comments</comments>
		<pubDate>Fri, 26 Aug 2011 11:35:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Okategoriserade]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[amazon ec2]]></category>
		<category><![CDATA[Amazon EC2 GPU]]></category>
		<category><![CDATA[gpu]]></category>
		<category><![CDATA[lösenordsforcering]]></category>
		<category><![CDATA[lösenordsknäckning]]></category>
		<category><![CDATA[md5]]></category>
		<category><![CDATA[molnet]]></category>
		<category><![CDATA[Nvidia]]></category>
		<category><![CDATA[Nvidia Tesla M2050]]></category>
		<category><![CDATA[Tesla M2050]]></category>

		<guid isPermaLink="false">http://kryptera.se/?p=881</guid>
		<description><![CDATA[Visste du att Amazon hyr ut datorkapacitet per timme? Ja, det vet nog de flesta. Men få vet att de även hyr ut kapacitet där en GPU (läs kraftfullt grafikkort) ingår. Från 2$ per timme så kan du få tillgång till en mycket kraftfull server för att utföra lösenordsknäckning med, här tänkte vi ge en [...]<p>F&ouml;lj oss p&aring; Twitter: <a href="http://twitter.com/kryptera">http://twitter.com/kryptera</a></p>
]]></description>
			<content:encoded><![CDATA[<div class='wpfblike' style='height: 40px;'><fb:like href='http://kryptera.se/sa-anvander-du-molnet-for-losenordsknackning/' layout='default' show_faces='false' width='400' action='like' colorscheme='light' send='false' /></div><div class="alignright"><div class="g-plusone" data-href="http://kryptera.se/sa-anvander-du-molnet-for-losenordsknackning/" size="tall" count="true"></div></div><p>Visste du att Amazon hyr ut datorkapacitet per timme? Ja, det vet nog de flesta. Men få vet att de även hyr ut kapacitet där en <a href="http://kryptera.se/t/gpu/" class="st_tag internal_tag" rel="tag" title="gpu">GPU</a> (läs kraftfullt grafikkort) ingår. Från 2$ per timme så kan du få tillgång till en mycket kraftfull server för att utföra <a href="http://kryptera.se/t/losenordsknackning/" class="st_tag internal_tag" rel="tag" title="lösenordsknäckning">lösenordsknäckning</a> med, här tänkte vi ge en liten guide till hur du kan komma igång och knäcka <a href="http://kryptera.se/t/losenord/" class="st_tag internal_tag" rel="tag" title="lösenord">lösenord</a> i molnet.</p>
<p>1. Skaffa ett Amazon Web Services-konto och gå in på <a href="https://console.aws.amazon.com/ec2/home?region=us-east-1#s=Instances" target="_blank">EC2-konsollen för US-east</a>.</p>
<p>2. Dra igång en ny server med &#8221;Launch instance&#8221;-knappen och välj sedan Community AMIs fliken där du söker efter följande serverkopia: ami-aa30c7c3</p>
<p>3. Gå igenom alla steg och ställ in så du kan logga in på servern med ssh. Det kan vara lite bökigt om det är första gången du använder <a href="http://kryptera.se/t/amazon-ec2/" class="st_tag internal_tag" rel="tag" title="amazon ec2">Amazon EC2</a>.</p>
<p>När du väl kommit in så följer du denna guide:</p>
<table>
<tbody>
<tr>
<td>
<div>1<br />
2<br />
3<br />
4</div>
</td>
<td>
<div># wget  http://developer.download.<a href="http://kryptera.se/t/nvidia/" class="st_tag internal_tag" rel="tag" title="Nvidia">nvidia</a>.com/compute/cuda/3_2/sdk/gpucomputingsdk_3.2.12_linux.run<br />
# chmod +x gpucomputingsdk_3.2.12_linux.run<br />
# ./gpucomputingsdk_3.2.12_linux.run<br />
(Tryck bara enter på alla frågor)</div>
</td>
</tr>
</tbody>
</table>
<p>Nu måste vi installer g++ kompilatorn:</p>
<div>
<table>
<tbody>
<tr>
<td>
<div>1</div>
</td>
<td>
<div># yum install automake autoconf <a href="http://kryptera.se/t/gcc/" class="st_tag internal_tag" rel="tag" title="GCC">gcc</a>-c++</div>
</td>
</tr>
</tbody>
</table>
</div>
<p>Sedan måste vi kompilera biblioteken:</p>
<div>
<table>
<tbody>
<tr>
<td>
<div>1<br />
2<br />
3</div>
</td>
<td>
<div># cd ~/NVIDIA_GPU_Computing_SDK/C/<br />
# make lib/libcutil.so<br />
# make shared/libshrutil.so</div>
</td>
</tr>
</tbody>
</table>
</div>
<p>Dax att ladda hem och bygga + installera CUDA-Multiforcer:</p>
<div>
<table>
<tbody>
<tr>
<td>
<div>1<br />
2<br />
3<br />
4<br />
5<br />
6<br />
7</div>
</td>
<td>
<div># cd ~/NVIDIA_GPU_Computing_SDK/C/<br />
# wget <a href="http://www.cryptohaze.com/releases/CUDA-Multiforcer-src-0.7.tar.bz2">http://www.cryptohaze.com/releases/CUDA-Multiforcer-src-0.7.tar.bz2</a> -O src/CUDA-Multiforcer.tar.bz2<br />
# cd src/<br />
# tar xjf CUDA-Multiforcer.tar.bz2<br />
# cd CUDA-Multiforcer-Release/argtable2-9/<br />
# ./configure &amp;&amp; make &amp;&amp; make install<br />
# cd ../</div>
</td>
</tr>
</tbody>
</table>
</div>
<p>Tyvärr så är dess Makefile lite felaktig så vi måste byta ut nedan rad</p>
<div>
<table>
<tbody>
<tr>
<td>
<div>1</div>
</td>
<td>
<div>CCFILES := -largtable2 -lcuda</div>
</td>
</tr>
</tbody>
</table>
</div>
<p>så den istället ser ut så här:</p>
<div>
<table>
<tbody>
<tr>
<td>
<div>1</div>
</td>
<td>
<div>LINKFLAGS := -largtable2 -lcuda</div>
</td>
</tr>
</tbody>
</table>
</div>
<p>Sen är det bara att skriva make, om allt gick bra så bör du ha en fil här: ~/NVIDIA_GPU_Computing_SDK/C/bin/linux/release/CUDA-Multiforcer. Du kan sedan exekvera mjukvaran på följande sätt:</p>
<div>
<table>
<tbody>
<tr>
<td>
<div>1<br />
2<br />
3<br />
4</div>
</td>
<td>
<div># export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH<br />
# export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH<br />
# cd ~/NVIDIA_GPU_Computing_SDK/C/src/CUDA-Multiforcer-Release/<br />
# ../../bin/linux/release/CUDA-Multiforcer -h <a href="http://kryptera.se/t/sha/" class="st_tag internal_tag" rel="tag" title="sha">SHA</a>1 -f test_hashes/Hashes-<a href="http://kryptera.se/t/sha/" class="st_tag internal_tag" rel="tag" title="sha">SHA</a>1-Full.txt &#8211;min=1 &#8211;max=6 -c charsets/charset-upper-lower-numeric-symbol-95.chr</div>
</td>
</tr>
</tbody>
</table>
</div>
<p>Grattis! Du har nu en helt egen lösenordsforcerare i molnet. Glöm inte att använda exempelvis -h FASTMD5 om det är <a href="http://kryptera.se/t/md5/" class="st_tag internal_tag" rel="tag" title="md5">MD5</a> du vill knäcka.</p>
<p>Grafikkortet som används i våra tester var NVIDIA <a href="http://kryptera.se/t/tesla-m2050/" class="st_tag internal_tag" rel="tag" title="Tesla M2050">Tesla M2050</a>.</p>
<p>Gällande prestanda så får vi 487.3 miljoner MD5-försök per sekund.</p>
<p style="text-align: right;"><em>Denna guide baseras på <a href="http://ricardomol.posterous.com/cracking-passwords-in-the-cloud-amazons-new-e" target="_blank">detta blogginlägg</a>.</em></p>
<p>F&ouml;lj oss p&aring; Twitter: <a href="http://twitter.com/kryptera">http://twitter.com/kryptera</a></p>
]]></content:encoded>
			<wfw:commentRss>http://kryptera.se/sa-anvander-du-molnet-for-losenordsknackning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>John the Ripper 1.7.7</title>
		<link>http://kryptera.se/john-the-ripper-1-7-7/</link>
		<comments>http://kryptera.se/john-the-ripper-1-7-7/#comments</comments>
		<pubDate>Thu, 28 Apr 2011 13:21:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Okategoriserade]]></category>
		<category><![CDATA[AMD XOP]]></category>
		<category><![CDATA[bitslice DES]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[GCC]]></category>
		<category><![CDATA[Gnu Binutils]]></category>
		<category><![CDATA[Intel AVX]]></category>
		<category><![CDATA[john the ripper]]></category>
		<category><![CDATA[jtr]]></category>
		<category><![CDATA[md5]]></category>
		<category><![CDATA[OpenMP]]></category>

		<guid isPermaLink="false">http://kryptera.se/?p=744</guid>
		<description><![CDATA[Nu har den populära knäckningsprogrammvaran John the Ripper släppts i en ny version, nämligen 1.7.7. Ändringar är enligt följande (på engelska): * Added Intel AVX and AMD XOP instruction sets support for bitslice DES (with C compiler intrinsics). New make targets: linux-x86-64-avx, linux-x86-64-xop, linux-x86-avx, and linux-x86-xop (these require recent versions of GCC and GNU binutils). [...]<p>F&ouml;lj oss p&aring; Twitter: <a href="http://twitter.com/kryptera">http://twitter.com/kryptera</a></p>
]]></description>
			<content:encoded><![CDATA[<div class='wpfblike' style='height: 40px;'><fb:like href='http://kryptera.se/john-the-ripper-1-7-7/' layout='default' show_faces='false' width='400' action='like' colorscheme='light' send='false' /></div><div class="alignright"><div class="g-plusone" data-href="http://kryptera.se/john-the-ripper-1-7-7/" size="tall" count="true"></div></div><p><img class="alignright size-thumbnail wp-image-746" title="John the Ripper" src="http://kryptera.se/wp-content/uploads/2011/04/John-the-Ripper-94x150.jpg" alt="" width="94" height="150" />Nu har den populära knäckningsprogrammvaran <a href="http://kryptera.se/t/john-the-ripper/" class="st_tag internal_tag" rel="tag" title="john the ripper">John the Ripper</a> släppts i en ny version, nämligen 1.7.7.</p>
<p>Ändringar är enligt följande (på engelska):</p>
<p>* Added <a href="http://kryptera.se/t/intel-avx/" class="st_tag internal_tag" rel="tag" title="Intel AVX">Intel AVX</a> and <a href="http://kryptera.se/t/amd-xop/" class="st_tag internal_tag" rel="tag" title="AMD XOP">AMD XOP</a> instruction sets support for bitslice <a href="http://kryptera.se/t/des/" class="st_tag internal_tag" rel="tag" title="des">DES</a> (with C compiler intrinsics). New make targets: linux-x86-64-avx, linux-x86-64-xop, linux-x86-avx, and linux-x86-xop (these require recent versions of <a href="http://kryptera.se/t/gcc/" class="st_tag internal_tag" rel="tag" title="GCC">GCC</a> and GNU binutils).<br />
* A &#8221;dummy&#8221; &#8221;format&#8221; is now supported (plaintext passwords encoded in hexadecimal and prefixed with &#8221;$dummy$&#8221;) &#8211; for faster testing and tuning of custom wordlists, rule sets, .chr files, and external modes on already known or artificial passwords, as well as for testing of future and modified versions of John itself.<br />
* Apache &#8221;$apr1$&#8221; <a href="http://kryptera.se/t/md5/" class="st_tag internal_tag" rel="tag" title="md5">MD5</a>-based password hashes are now supported along with the <a href="http://kryptera.se/t/freebsd/" class="st_tag internal_tag" rel="tag" title="FreeBSD">FreeBSD</a>-style MD5-based crypt(3) hashes that were supported previously. Hashes of both of these types may be loaded for cracking simultaneously.<br />
* The &#8221;&#8211;salts&#8221; option threshold is now applied before removal of previously cracked hashes for consistent behavior with interrupted and continued sessions.<br />
* The &#8221;Idle = Y&#8221; setting (which is the default) is now ignored for <a href="http://kryptera.se/t/openmp/" class="st_tag internal_tag" rel="tag" title="OpenMP">OpenMP</a>-enabled <a href="http://kryptera.se/t/hash/" class="st_tag internal_tag" rel="tag" title="hash">hash</a> types when the actual number of threads is greater than 1. (Unfortunately, it did not work right at least with GNU libgomp on Linux.)<br />
* When a cracking session terminates or is interrupted, John will now warn the user if the cracked passwords printed to the terminal while cracking are potentially incomplete. It will advise the user to use the &#8221;&#8211;show&#8221; option to see the complete set of cracked passwords with proper post-processing.<br />
* When loading hashes specified on a line on their own (feature introduced in 1.7.6), the loader will now ignore leading and trailing whitespace.<br />
* Unless a hash type is forced from the command line, the loader will now print warnings about additional hash types seen in the input files (beyond the hash type autodetected initially).<br />
* For use primarily by the jumbo patch (and later by future enhancements to the official versions as well), the loader now includes logic to warn the user of ambiguous hash encodings (e.g. LM vs. NTLM vs. raw-MD5, all of which may be represented as 32 hexadecimal characters) and of excessive partial hash collisions, which it works around (these are typically caused by an incomplete implementation of a new hash type).<br />
* The &#8221;unique&#8221; and &#8221;unshadow&#8221; programs have been made significantly faster.<br />
* &#8221;DateTime&#8221;, &#8221;Repeats&#8221;, &#8221;Subsets&#8221;, &#8221;AtLeast1-Simple&#8221;, &#8221;AtLeast1-Generic&#8221;, and &#8221;Policy&#8221; external mode samples have been added to the default john.conf.<br />
* The self-tests have been enhanced to detect more kinds of program bugs.<br />
* A few minor bug fixes and enhancements were made.</p>
<p>John the Ripper 1.7.7 kan ladda hem här:</p>
<ul>
<li><a href="http://download.openwall.net/pub/projects/john/1.7.7/">download.openwall.net/pub/projects/john/1.7.7/</a></li>
</ul>
<p>F&ouml;lj oss p&aring; Twitter: <a href="http://twitter.com/kryptera">http://twitter.com/kryptera</a></p>
]]></content:encoded>
			<wfw:commentRss>http://kryptera.se/john-the-ripper-1-7-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ny attack mot MD5</title>
		<link>http://kryptera.se/ny-attack-mot-md5/</link>
		<comments>http://kryptera.se/ny-attack-mot-md5/#comments</comments>
		<pubDate>Fri, 17 Dec 2010 10:52:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Okategoriserade]]></category>
		<category><![CDATA[md5]]></category>

		<guid isPermaLink="false">http://kryptera.se/?p=644</guid>
		<description><![CDATA[En ny attack mot MD5 har presenterats som gör det enklare att hitta kollisioner. $ sed -r 's/(..)(..)(..)(..)/\4\3\2\1/g' m0.hex &#124; xxd -r -p &#124; md5sum cee9a457e790cf20d4bdaa6d69f01e41 - $ sed -r 's/(..)(..)(..)(..)/\4\3\2\1/g' m1.hex &#124; xxd -r -p &#124; md5sum cee9a457e790cf20d4bdaa6d69f01e41 - Se Reddit F&#246;lj oss p&#229; Twitter: http://twitter.com/kryptera<p>F&ouml;lj oss p&aring; Twitter: <a href="http://twitter.com/kryptera">http://twitter.com/kryptera</a></p>
]]></description>
			<content:encoded><![CDATA[<div class='wpfblike' style='height: 40px;'><fb:like href='http://kryptera.se/ny-attack-mot-md5/' layout='default' show_faces='false' width='400' action='like' colorscheme='light' send='false' /></div><div class="alignright"><div class="g-plusone" data-href="http://kryptera.se/ny-attack-mot-md5/" size="tall" count="true"></div></div><p>En ny attack mot <a href="http://kryptera.se/t/md5/" class="st_tag internal_tag" rel="tag" title="md5">MD5</a> har presenterats som gör det enklare att hitta kollisioner.<br/></p>
<pre><code>$ sed -r 's/(..)(..)(..)(..)/\4\3\2\1/g' m0.hex | xxd -r -p | md5sum
cee9a457e790cf20d4bdaa6d69f01e41  -
$ sed -r 's/(..)(..)(..)(..)/\4\3\2\1/g' m1.hex | xxd -r -p | md5sum
cee9a457e790cf20d4bdaa6d69f01e41  -</code></pre>
<p><br/><br/><br />
Se <a href="http://www.reddit.com/r/crypto/comments/emzwd/newly_announced_md5_attack_finds_single_block/">Reddit</a></p>
<p>F&ouml;lj oss p&aring; Twitter: <a href="http://twitter.com/kryptera">http://twitter.com/kryptera</a></p>
]]></content:encoded>
			<wfw:commentRss>http://kryptera.se/ny-attack-mot-md5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ny sårbarhet i SSL</title>
		<link>http://kryptera.se/ny-sarbarhet-i-ssl/</link>
		<comments>http://kryptera.se/ny-sarbarhet-i-ssl/#comments</comments>
		<pubDate>Fri, 02 Jan 2009 22:47:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Okategoriserade]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[hash]]></category>
		<category><![CDATA[https]]></category>
		<category><![CDATA[kolisioner]]></category>
		<category><![CDATA[md5]]></category>
		<category><![CDATA[pki]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://kryptera.se/?p=99</guid>
		<description><![CDATA[En sårbarhet har identifierats i det förfarande som MD5 används tillsammans med signering av SSL certifikat. Genom att kombinera två äldre publika attacker: MD5 kollisioner X509 och MD5-kollisioner i dessa Så har säkerhetsforskarna Alexander Sotirov, Jacob Appelbaum lyckats att skapa egna SSL-certifikat för godtycklig domän. De skulle exempelvis vara möjligt att skapa ett giltigt certifikat [...]<p>F&ouml;lj oss p&aring; Twitter: <a href="http://twitter.com/kryptera">http://twitter.com/kryptera</a></p>
]]></description>
			<content:encoded><![CDATA[<div class='wpfblike' style='height: 40px;'><fb:like href='http://kryptera.se/ny-sarbarhet-i-ssl/' layout='default' show_faces='false' width='400' action='like' colorscheme='light' send='false' /></div><div class="alignright"><div class="g-plusone" data-href="http://kryptera.se/ny-sarbarhet-i-ssl/" size="tall" count="true"></div></div><p>En sårbarhet har identifierats i det förfarande som <a href="http://kryptera.se/t/md5/" class="st_tag internal_tag" rel="tag" title="md5">MD5</a> används tillsammans med signering av <a href="http://kryptera.se/t/ssl/" class="st_tag internal_tag" rel="tag" title="ssl">SSL</a> certifikat. Genom att kombinera två äldre publika attacker:</p>
<ul>
<li><a href="http://en.wikipedia.org/wiki/MD5">MD5 kollisioner</a></li>
<li><a href="http://www.google.se/search?q=x509+md5">X509 och MD5-kollisioner i dessa</a></li>
</ul>
<p>Så har säkerhetsforskarna <span class="link-external"><a href="http://phreedom.org/">Alexander Sotirov</a></span>, <span class="link-external"><a href="http://www.appelbaum.net/">Jacob Appelbaum</a> lyckats att skapa egna SSL-certifikat för godtycklig domän. De skulle exempelvis vara möjligt att skapa ett giltigt certifikat för swedbank.se med hjälp av denna attack. Dock så måste denna attack kombineras med någon annan attack mot exempelvis <a href="http://kryptera.se/t/dns/" class="st_tag internal_tag" rel="tag" title="dns">DNS</a>.<br />
</span></p>
<blockquote><p>We have identified a vulnerability in the Internet Public Key Infrastructure (<a href="http://kryptera.se/t/pki/" class="st_tag internal_tag" rel="tag" title="pki">PKI</a>) used to     issue digital certificates for secure websites. As a proof of concept we executed a practical     attack scenario and successfully created a rogue Certification Authority (CA) certificate trusted     by all common web browsers. This certificate allows us to impersonate any website on the     Internet, including banking and e-commerce sites secured using the <a href="http://kryptera.se/t/https/" class="st_tag internal_tag" rel="tag" title="https">HTTPS</a> protocol.</p>
<p>Our attack takes advantage of a weakness in the MD5 cryptographic <a href="http://kryptera.se/t/hash/" class="st_tag internal_tag" rel="tag" title="hash">hash</a> function that allows     the construction of different messages with the same MD5 <a href="http://kryptera.se/t/hash/" class="st_tag internal_tag" rel="tag" title="hash">hash</a>. This is known as an MD5 &#8221;collision&#8221;.     Previous work on MD5 collisions between 2004 and 2007 showed that the use of this <a href="http://kryptera.se/t/hash/" class="st_tag internal_tag" rel="tag" title="hash">hash</a> function     in digital signatures can lead to theoretical attack scenarios. Our current work proves that at     least one attack scenario can be exploited in practice, thus exposing the security     infrastructure of the web to realistic threats.</p></blockquote>
<p><span class="link-external">HD Moore på BreakingPoint Labs har skrivit en lång och utförligt inlägg om detta: <a href="http://www.breakingpointsystems.com/community/blog/Attacking-Critical-Internet-Infrastructure">breakingpointsystems.com/community/blog/Attacking-Critical-Internet-Infrastructure.</a></span></p>
<p><span class="link-external">Läs även: </span></p>
<p><a href="http://www.win.tue.nl/hashclash/rogue-ca/">MD5 considered harmful today</a></p>
<p><a href="http://www.win.tue.nl/hashclash/rogue-ca/">Creating a rogue CA certificate</a></p>
<p>F&ouml;lj oss p&aring; Twitter: <a href="http://twitter.com/kryptera">http://twitter.com/kryptera</a></p>
]]></content:encoded>
			<wfw:commentRss>http://kryptera.se/ny-sarbarhet-i-ssl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Uppföljaren till MD5 är här: MD6</title>
		<link>http://kryptera.se/uppfoljaren-till-md5-ar-har-md6/</link>
		<comments>http://kryptera.se/uppfoljaren-till-md5-ar-har-md6/#comments</comments>
		<pubDate>Mon, 25 Aug 2008 10:00:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Okategoriserade]]></category>
		<category><![CDATA[hash]]></category>
		<category><![CDATA[md5]]></category>
		<category><![CDATA[md6]]></category>

		<guid isPermaLink="false">http://kryptera.se/?p=61</guid>
		<description><![CDATA[Det har för några år sedan uppdagats att MD5 inte är speciellt säker att använda längre så därför satte Ronald L. Rivest igång ett arbete med att ta fram nästa generations hash-funktion nämligen MD6. Med hjälp av ett team på över 15 personer så har MD6 nu lanserats under konferensen CRYPTO &#8217;08. Se presentationen här: [...]<p>F&ouml;lj oss p&aring; Twitter: <a href="http://twitter.com/kryptera">http://twitter.com/kryptera</a></p>
]]></description>
			<content:encoded><![CDATA[<div class='wpfblike' style='height: 40px;'><fb:like href='http://kryptera.se/uppfoljaren-till-md5-ar-har-md6/' layout='default' show_faces='false' width='400' action='like' colorscheme='light' send='false' /></div><div class="alignright"><div class="g-plusone" data-href="http://kryptera.se/uppfoljaren-till-md5-ar-har-md6/" size="tall" count="true"></div></div><p>Det har för några år sedan uppdagats att <a href="http://kryptera.se/t/md5/" class="st_tag internal_tag" rel="tag" title="md5">MD5</a> inte är speciellt säker att använda längre så därför satte Ronald L. Rivest igång ett arbete med att ta fram nästa generations <a href="http://kryptera.se/t/hash/" class="st_tag internal_tag" rel="tag" title="hash">hash</a>-funktion nämligen <a href="http://kryptera.se/t/md6/" class="st_tag internal_tag" rel="tag" title="md6">MD6</a>. Med hjälp av ett team på över 15 personer så har <a href="http://kryptera.se/t/md6/" class="st_tag internal_tag" rel="tag" title="md6">MD6</a> nu lanserats under konferensen <a href="http://www.iacr.org/conferences/crypto2008/">CRYPTO &#8217;08</a>.</p>
<p>Se presentationen här:</p>
<p><a href="http://people.csail.mit.edu/rivest/Rivest-TheMD6HashFunction.ppt">people.csail.mit.edu/rivest/Rivest-TheMD6HashFunction.ppt</a></p>
<p>Enligt följande skriver <a href="http://finney.org/~hal/">Hal Finney</a> om MD6:</p>
<blockquote><p>Ron Rivest presented his (along with a dozen other people&#8217;s) new hash,<br />
MD6, yesterday at Crypto. I am not a hash guru although I&#8217;ve implemented<br />
<a href="http://kryptera.se/t/sha/" class="st_tag internal_tag" rel="tag" title="sha">SHA</a> and its ilk many times, so I can&#8217;t guarantee all my notes are correct.<br />
I will compare it somewhat with SHA as that is what I know.</p>
<p><a href="http://kryptera.se/t/sha-1/" class="st_tag internal_tag" rel="tag" title="sha-1">SHA-1</a> is a Merkle Damgard hash, meaning that it runs a compression<br />
function that takes as input the chaining value from the previous<br />
compression function block, along with the next block of input, and<br />
compresses that, creating the next chaining value for the next block.</p>
<p>MD6 is a tree hash, so the leaf nodes run the compression function which<br />
takes successive blocks of input and compress it down to a chaining<br />
value.  These chaining values are then fed up to a parent node, which<br />
uses the same compression function to produce its own chaining value,<br />
and so on up to the root node. I think the tree branching factor was 4 -<br />
each node has 4 children. There is also an alternative serial mode for<br />
use by memory limited devices, but I don&#8217;t recall any details on that.</p>
<p>A unique feature of MD6 is that the input to the compression function is<br />
very large &#8211; 512 bytes. SHA-1 takes 64 bytes. MD6 is oriented around 64<br />
bit words, so this input is considered to be 64 words. The MD6 chaining<br />
variable is 1024 bits or 16 words &#8211; compare to the hash width for the<br />
SHA family ciphers: 160 for SHA-1, 256 or 512 for SHA-256 and SHA-512.<br />
Per NIST&#8217;s spec, the largest hash output for SHA-3 is 512 bits, so<br />
MD6 intentionally uses a double width chaining variable internally,<br />
and truncates it for output.</p>
<p>The compression function of MD6 is particularly unusual, combining<br />
simple steps with a large number of rounds. In SHA-1 the first thing you<br />
do is to take the 16 32-bit input words and expand them into an 80-word<br />
key array, each word in the expanded input being a function of certain<br />
previous words. Then you run an unbalanced Feistel using the expanded<br />
inputs.</p>
<p>MD6 starts off with something similar, using a somewhat more complex<br />
expansion algorithm, and going on far longer.  To my surprise, this is<br />
the whole compression function! The last 16 words of this process are the<br />
output chaining value. There is no Feistel network or any other mechanism.</p>
<p>In more detail, the 64 (64-bit) input words are prefixed by two sets<br />
of about a dozen words &#8211; sorry, I don&#8217;t remember exactly how big these<br />
were. One set is a constant value, and the other set includes a variety<br />
of &#8221;environmental&#8221; information about the circumstances of this instance<br />
of the compression function.  This includes global information like how<br />
wide the hash is that will finally be derived by truncating the final<br />
chaining value; the location of this compression function block in the<br />
hash tree, including in particular whether we are the last (root) node;<br />
and other such data.  One notable value here is an optional per-hash key,<br />
for creating a keyed hash, of up to 8 words (512 bits).  These prepended<br />
blocks bring the full input size up to about 87 or 89 words &#8211; again I<br />
apologize, I am working strictly from memory here.</p>
<p>Now this input begins to be extended. Each additional word is a function<br />
of about 5 of the previous 89 words. They did a search to choose the<br />
best 5 offsets in order to maximize diffusion. The combining function<br />
is quite simple though, composed solely of xors, ands, one right shift<br />
and one left shift. Rivest mentioned that this made it reversible -<br />
a desirable feature as it guarantees that no entropy is lost. At first<br />
I was unclear how doing x = x ^ (x &gt;&gt; 5) for example is reversible,<br />
for example, but then I got it. The shift amounts change each step,<br />
again optimized by a computer search for good mixing.</p>
<p>But the really important point here is that there are a huge number<br />
of such steps. The function is expressed in rounds of 16 steps<br />
each. MD6-256 uses 104 rounds; MD6-512 uses 168. Multiply times 16 and<br />
you are performing this extend step on the order of 2000 times. Again,<br />
the last 16 words are the output of the compression function.</p>
<p>Rivest gave a lot of performance information. Because of the tree<br />
structure, the function is highly parallellizable, and scales almost<br />
linearly with the number of CPU cores available. With 1 core, it is not<br />
super fast: MD6-256 on a 64-bit CPU is 77 MB/sec; MD6-512 is 49 MB/sec.<br />
For comparison, SHA-512 is 202 MB/sec on the same setup. They need about<br />
3 cores to match the speed of SHA-512.</p>
<p>He also presented a number of cryptanalytic results. There is provable<br />
security against differential cryptanalysis, by virtue of the large number<br />
of rounds; also security against side channels. A SAT solver and another<br />
technique could only do something with about 11 rounds, versus the 100+<br />
rounds in the function. The tree structure is also shown to preserve<br />
strong properties of the compression function.</p>
<p>Overall it seemed very impressive. The distinctive features are the tree<br />
structure, very wide input blocks, and the enormous number of rounds.<br />
The cryptanalysis results were favorable. However Adi Shamir stood up<br />
and expressed concern that his new Cube attack might apply. Rivest seemed<br />
confident that the degree of MD6 would be several thousand, which should<br />
be safe from Shamir&#8217;s attack, but time will tell.</p>
<p>Apologies again to the enormous number of authors if I have any serious<br />
errors above. And thanks to Ron Rivest for publicizing this hash design<br />
several months before the due date (October 31), potentially giving an<br />
advantage to his competitotrs. He emphasized that his goal is to produce<br />
the best possible outcome for the whole process.</p>
<p>Hal Finney</p></blockquote>
<p>F&ouml;lj oss p&aring; Twitter: <a href="http://twitter.com/kryptera">http://twitter.com/kryptera</a></p>
]]></content:encoded>
			<wfw:commentRss>http://kryptera.se/uppfoljaren-till-md5-ar-har-md6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kryptering med PHP</title>
		<link>http://kryptera.se/kryptering-med-php/</link>
		<comments>http://kryptera.se/kryptering-med-php/#comments</comments>
		<pubDate>Sat, 31 May 2008 19:35:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Okategoriserade]]></category>
		<category><![CDATA[blowfish]]></category>
		<category><![CDATA[des]]></category>
		<category><![CDATA[mcrypt]]></category>
		<category><![CDATA[md5]]></category>
		<category><![CDATA[openssl]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[sha1]]></category>
		<category><![CDATA[sha256]]></category>

		<guid isPermaLink="false">http://kryptera.se/?p=11</guid>
		<description><![CDATA[PHP är ett mycket väl använt programmeringsspråk som används i samband med webb-programmering. Krypteringsfunktionerna i PHP kan delas upp i följande kategorier: mcrypt openssl inbyggda Här följer en mycket liten sammanställning av dessa tre kategorier: mcrypt Mcrypt som är ett tredjepartsbibliotek innefattar en mängd kryptering/dekrypterings-funktioner såsom: mcrypt_cbc — Encrypt/decrypt data in CBC mode mcrypt_cfb — [...]<p>F&ouml;lj oss p&aring; Twitter: <a href="http://twitter.com/kryptera">http://twitter.com/kryptera</a></p>
]]></description>
			<content:encoded><![CDATA[<div class='wpfblike' style='height: 40px;'><fb:like href='http://kryptera.se/kryptering-med-php/' layout='default' show_faces='false' width='400' action='like' colorscheme='light' send='false' /></div><div class="alignright"><div class="g-plusone" data-href="http://kryptera.se/kryptering-med-php/" size="tall" count="true"></div></div><p><a href="http://php.net">PHP</a> är ett mycket väl använt programmeringsspråk som används i samband med webb-programmering. Krypteringsfunktionerna i <a href="http://kryptera.se/t/php/" class="st_tag internal_tag" rel="tag" title="php">PHP</a> kan delas upp i följande kategorier:</p>
<ul>
<li><a href="http://kryptera.se/t/mcrypt/" class="st_tag internal_tag" rel="tag" title="mcrypt">mcrypt</a></li>
<li><a href="http://kryptera.se/t/openssl/" class="st_tag internal_tag" rel="tag" title="openssl">openssl</a></li>
<li>inbyggda</li>
</ul>
<p>Här följer en mycket liten sammanställning av dessa tre kategorier:</p>
<h3>mcrypt</h3>
<p><a href="http://mcrypt.sf.net">Mcrypt</a> som är ett tredjepartsbibliotek innefattar en mängd kryptering/dekrypterings-funktioner såsom:</p>
<ul class="chunklist chunklist_book chunklist_children">
<li><a href="http://se2.php.net/manual/en/function.mcrypt-cbc.php">mcrypt_cbc</a> — Encrypt/decrypt data in <a href="http://en.wikipedia.org/wiki/Block_cipher_modes_of_operation">CBC mode</a></li>
<li><a href="http://se2.php.net/manual/en/function.mcrypt-cfb.php">mcrypt_cfb</a> — Encrypt/decrypt data in <a href="http://en.wikipedia.org/wiki/Block_cipher_modes_of_operation">CFB mode</a></li>
<li><a href="http://se2.php.net/manual/en/function.mcrypt-create-iv.php">mcrypt_create_iv</a> — Create an initialization vector (IV) from a random source</li>
<li><a href="http://se2.php.net/manual/en/function.mcrypt-decrypt.php">mcrypt_decrypt</a> — Decrypts crypttext with given parameters</li>
</ul>
<p>Vill du exempelvis skapa en <a href="http://en.wikipedia.org/wiki/SHA-1#SHA-256_.28one_of_the_SHA-2_versions.29_algorithm">SHA256</a> hexsträng på godtycklig sträng kan du göra enligt följande:</p>
<p><code><span class="html"><span class="default">$<a href="http://kryptera.se/t/sha/" class="st_tag internal_tag" rel="tag" title="sha">sha</a>256b</span><span class="keyword">= </span><span class="default">base64_encode</span><span class="keyword">(</span><span class="default">bin2hex</span><span class="keyword">(</span><span class="default">mhash</span><span class="keyword">(</span><span class="default">MHASH_SHA256</span><span class="keyword">,</span><span class="default">$phrase</span><span class="keyword">)));</span></span></code></p>
<h3>openssl</h3>
<p><a href="http://openssl.org">OpenSSL</a> är också ett tredjepartsbibliotek och innefattar bl.a dessa funktioner:</p>
<ul class="chunklist chunklist_reference">
<li><a href="http://se2.php.net/manual/en/function.openssl-seal.php">openssl_seal</a> — Seal (encrypt) data</li>
<li><a href="http://se2.php.net/manual/en/function.openssl-sign.php">openssl_sign</a> — Generate signature</li>
<li><a href="http://se2.php.net/manual/en/function.openssl-verify.php">openssl_verify</a> — Verify signature</li>
</ul>
<p>De funktioner OpenSSL tillhandahåller i PHP är mer inriktade på <a href="http://sv.wikipedia.org/wiki/Asymmetrisk_kryptering">assymetrisk kryptering</a>.</p>
<h3>inbyggda funktioner</h3>
<p>Den mest använda krypteringsfunktionen i PHP är <a href="http://se2.php.net/crypt">crypt()</a> som stödjer följande krypteringsalgoritmer:</p>
<ul class="itemizedlist">
<li class="listitem"> <span class="simpara"> <strong><tt>CRYPT_STD_<a href="http://kryptera.se/t/des/" class="st_tag internal_tag" rel="tag" title="des">DES</a></tt></strong> &#8211; Standard DES-based encryption with a two character salt </span></li>
<li class="listitem"> <span class="simpara"> <strong><tt>CRYPT_EXT_DES</tt></strong> &#8211; Extended DES-based encryption with a nine character salt </span></li>
<li class="listitem"> <span class="simpara"> <strong><tt>CRYPT_<a href="http://kryptera.se/t/md5/" class="st_tag internal_tag" rel="tag" title="md5">MD5</a></tt></strong> &#8211; MD5 encryption with a twelve character salt starting with      $1$ </span></li>
<li class="listitem"> <span class="simpara"> <strong><tt>CRYPT_<a href="http://kryptera.se/t/blowfish/" class="st_tag internal_tag" rel="tag" title="blowfish">BLOWFISH</a></tt></strong> &#8211; Blowfish encryption with a sixteen character salt      starting with $2$ or $2a$</span></li>
</ul>
<p>Övriga kryptorelaterade funktioner som återfinns som standard i PHP är exempelvis <a href="http://kryptera.se/t/sha1/" class="st_tag internal_tag" rel="tag" title="sha1">sha1</a> och md5.</p>
<p>F&ouml;lj oss p&aring; Twitter: <a href="http://twitter.com/kryptera">http://twitter.com/kryptera</a></p>
]]></content:encoded>
			<wfw:commentRss>http://kryptera.se/kryptering-med-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HMAC och WordPress</title>
		<link>http://kryptera.se/hmac-och-wordpress/</link>
		<comments>http://kryptera.se/hmac-och-wordpress/#comments</comments>
		<pubDate>Tue, 20 May 2008 08:59:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Okategoriserade]]></category>
		<category><![CDATA[cookie]]></category>
		<category><![CDATA[hash]]></category>
		<category><![CDATA[hmac]]></category>
		<category><![CDATA[kryptobugg]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[md5]]></category>
		<category><![CDATA[sha]]></category>
		<category><![CDATA[sha-1]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://kryptera.se/?p=4</guid>
		<description><![CDATA[WordPress version 2.5.1 släpps till följd av att en kryptobugg i Cookie-hanteringen gör det möjligt beräkna den HMAC som används för säkerställa att rätt användare är inloggad: The authentication mechanism assumes that an attacker cannot calculate the HMAC. However, this assumption is broken because the two inputs used to calculate the HMAC (username and expiration) [...]<p>F&ouml;lj oss p&aring; Twitter: <a href="http://twitter.com/kryptera">http://twitter.com/kryptera</a></p>
]]></description>
			<content:encoded><![CDATA[<div class='wpfblike' style='height: 40px;'><fb:like href='http://kryptera.se/hmac-och-wordpress/' layout='default' show_faces='false' width='400' action='like' colorscheme='light' send='false' /></div><div class="alignright"><div class="g-plusone" data-href="http://kryptera.se/hmac-och-wordpress/" size="tall" count="true"></div></div><p><a href="http://wordpress.org">WordPress</a> version <a href="http://wordpress.org/development/2008/04/wordpress-251/">2.5.1 släpps</a> till följd av att en <a href="http://kryptera.se/t/kryptobugg/" class="st_tag internal_tag" rel="tag" title="kryptobugg">kryptobugg</a> i <a href="http://kryptera.se/t/cookie/" class="st_tag internal_tag" rel="tag" title="cookie">Cookie</a>-hanteringen gör det möjligt beräkna den<a href="http://en.wikipedia.org/wiki/HMAC"> HMAC</a> som används för säkerställa att rätt användare är inloggad:</p>
<blockquote><p>The authentication mechanism assumes that an attacker cannot calculate the <a href="http://kryptera.se/t/hmac/" class="st_tag internal_tag" rel="tag" title="hmac">HMAC</a>. However, this assumption is broken because the two inputs used to calculate the <a href="http://kryptera.se/t/hmac/" class="st_tag internal_tag" rel="tag" title="hmac">HMAC</a> (username and expiration) are not clearly delineated.</p></blockquote>
<p>Läs mer om buggen här:</p>
<ul>
<li><a href="http://www.cl.cam.ac.uk/~sjm217/advisories/wordpress-cookie-integrity.txt">http://www.cl.cam.ac.uk/~sjm217/advisories/wordpress-cookie-integrity.txt</a></li>
</ul>
<p>Undrar du vad HMAC är? Förklaring enligt Wikipedia:</p>
<blockquote><p>In <a title="Cryptography" href="http://en.wikipedia.org/wiki/Cryptography">cryptography</a>, a <strong>keyed-<a href="http://kryptera.se/t/hash/" class="st_tag internal_tag" rel="tag" title="hash">Hash</a> Message Authentication Code</strong> (<strong>HMAC</strong> or <strong>KHMAC</strong>), is a type of <a title="Message authentication code" href="http://en.wikipedia.org/wiki/Message_authentication_code">message authentication code</a> (<a href="http://kryptera.se/t/mac/" class="st_tag internal_tag" rel="tag" title="mac">MAC</a>) calculated using a specific algorithm involving a <a title="Cryptographic hash function" href="http://en.wikipedia.org/wiki/Cryptographic_hash_function">cryptographic hash function</a> in combination with a secret <a class="mw-redirect" title="Cryptographic key" href="http://en.wikipedia.org/wiki/Cryptographic_key">key</a>. As with any MAC, it may be used to simultaneously verify both the <em><a title="Data integrity" href="http://en.wikipedia.org/wiki/Data_integrity">data integrity</a></em> and the <em>authenticity</em> of a <a title="Cleartext" href="http://en.wikipedia.org/wiki/Cleartext">message</a>. Any iterative cryptographic hash function, such as <a title="MD5" href="http://en.wikipedia.org/wiki/MD5">MD5</a> or <a class="mw-redirect" title="SHA-1" href="http://en.wikipedia.org/wiki/SHA-1">SHA-1</a>, may be used in the calculation of an HMAC; the resulting MAC algorithm is termed HMAC-<a href="http://kryptera.se/t/md5/" class="st_tag internal_tag" rel="tag" title="md5">MD5</a> or HMAC-<a href="http://kryptera.se/t/sha-1/" class="st_tag internal_tag" rel="tag" title="sha-1">SHA-1</a> accordingly. The cryptographic strength of the HMAC depends upon the cryptographic strength of the underlying hash function, on the size and quality of the key and the size of the hash output length in bits.</p></blockquote>
<p>F&ouml;lj oss p&aring; Twitter: <a href="http://twitter.com/kryptera">http://twitter.com/kryptera</a></p>
]]></content:encoded>
			<wfw:commentRss>http://kryptera.se/hmac-och-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: kryptera.se @ 2012-05-21 23:42:34 -->
