<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-926886608593755419.post3856205429650219381..comments</id><updated>2010-06-24T11:12:50.474-07:00</updated><category term='hmac'/><category term='memcached'/><category term='dev'/><category term='sha'/><category term='tools'/><category term='python'/><category term='crypto'/><category term='politics'/><title type='text'>Comments on ionous: HMAC vs. raw SHA-1</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://dev.ionous.net/feeds/3856205429650219381/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/926886608593755419/3856205429650219381/comments/default'/><link rel='alternate' type='text/html' href='http://dev.ionous.net/2009/03/hmac-vs-raw-sha-1.html'/><author><name>ionous</name><uri>http://www.blogger.com/profile/17820105163148774672</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_Hakv80Zu6-k/SbKtW8LGXcI/AAAAAAAAAAM/zBYvr1R3-H8/S220/pic.PNG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-926886608593755419.post-6639074261362578756</id><published>2010-06-24T11:12:50.461-07:00</published><updated>2010-06-24T11:12:50.461-07:00</updated><title type='text'>you&amp;#39;re right that the hash includes includes t...</title><summary type='text'>you&amp;#39;re right that the hash includes includes the length.  my explanation definitely glosses over the way the actual extension attack works.&lt;br /&gt;&lt;br /&gt;many hashing algorithms, SHA included, consist of two discrete stages.  &lt;br /&gt;&lt;br /&gt;in the first stage, the algorithm splits the message into fixed size blocks. as it does so, it pads the message to make sure the final block is of the right </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/926886608593755419/3856205429650219381/comments/default/6639074261362578756'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/926886608593755419/3856205429650219381/comments/default/6639074261362578756'/><link rel='alternate' type='text/html' href='http://dev.ionous.net/2009/03/hmac-vs-raw-sha-1.html?showComment=1277403170461#c6639074261362578756' title=''/><author><name>ionous</name><uri>http://www.blogger.com/profile/17820105163148774672</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_Hakv80Zu6-k/SbKtW8LGXcI/AAAAAAAAAAM/zBYvr1R3-H8/S220/pic.PNG'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://dev.ionous.net/2009/03/hmac-vs-raw-sha-1.html' ref='tag:blogger.com,1999:blog-926886608593755419.post-3856205429650219381' source='http://www.blogger.com/feeds/926886608593755419/posts/default/3856205429650219381' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2022530169'/></entry><entry><id>tag:blogger.com,1999:blog-926886608593755419.post-6254242586693124459</id><published>2010-06-21T05:00:48.231-07:00</published><updated>2010-06-21T05:00:48.231-07:00</updated><title type='text'>Good explanation, but I have a question about it.
...</title><summary type='text'>Good explanation, but I have a question about it.&lt;br /&gt;SHA-1 uses padding that incorporates the length of the original message.&lt;br /&gt;Suppose the original length of the message is 10 bytes and the modified one is 15 bytes.&lt;br /&gt;When the hash is calculated, the first block will be different at the sender and the receiver side (since the messages have a different length).&lt;br /&gt;How can this result in</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/926886608593755419/3856205429650219381/comments/default/6254242586693124459'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/926886608593755419/3856205429650219381/comments/default/6254242586693124459'/><link rel='alternate' type='text/html' href='http://dev.ionous.net/2009/03/hmac-vs-raw-sha-1.html?showComment=1277121648231#c6254242586693124459' title=''/><author><name>Steven</name><uri>http://www.blogger.com/profile/02502718114713860022</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://dev.ionous.net/2009/03/hmac-vs-raw-sha-1.html' ref='tag:blogger.com,1999:blog-926886608593755419.post-3856205429650219381' source='http://www.blogger.com/feeds/926886608593755419/posts/default/3856205429650219381' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2016505572'/></entry><entry><id>tag:blogger.com,1999:blog-926886608593755419.post-2384792312701483182</id><published>2010-02-11T16:39:07.074-08:00</published><updated>2010-02-11T16:39:07.074-08:00</updated><title type='text'>exactly what I was looking for, thank you.</title><summary type='text'>exactly what I was looking for, thank you.</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/926886608593755419/3856205429650219381/comments/default/2384792312701483182'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/926886608593755419/3856205429650219381/comments/default/2384792312701483182'/><link rel='alternate' type='text/html' href='http://dev.ionous.net/2009/03/hmac-vs-raw-sha-1.html?showComment=1265935147074#c2384792312701483182' title=''/><author><name>house</name><uri>http://www.blogger.com/profile/05468570198927017327</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://dev.ionous.net/2009/03/hmac-vs-raw-sha-1.html' ref='tag:blogger.com,1999:blog-926886608593755419.post-3856205429650219381' source='http://www.blogger.com/feeds/926886608593755419/posts/default/3856205429650219381' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-156709832'/></entry><entry><id>tag:blogger.com,1999:blog-926886608593755419.post-3321544526153796487</id><published>2009-03-09T07:45:00.000-07:00</published><updated>2009-03-09T07:45:00.000-07:00</updated><title type='text'>Thanks for the explanation.</title><summary type='text'>Thanks for the explanation.</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/926886608593755419/3856205429650219381/comments/default/3321544526153796487'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/926886608593755419/3856205429650219381/comments/default/3321544526153796487'/><link rel='alternate' type='text/html' href='http://dev.ionous.net/2009/03/hmac-vs-raw-sha-1.html?showComment=1236609900000#c3321544526153796487' title=''/><author><name>Simo Salminen</name><uri>http://www.blogger.com/profile/10967997210411852661</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://dev.ionous.net/2009/03/hmac-vs-raw-sha-1.html' ref='tag:blogger.com,1999:blog-926886608593755419.post-3856205429650219381' source='http://www.blogger.com/feeds/926886608593755419/posts/default/3856205429650219381' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-310569581'/></entry></feed>
