Re: [PATCH] Add a birdview-on-the-source-code section to the user manual

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Karl
Date: Thursday, May 10, 2007 - 1:01 pm

On 2007-05-10 00:23:50 +0200, Johannes Schindelin wrote:


Actually, if you take a look at

  http://en.wikipedia.org/wiki/Sha1#SHA-1_algorithm

you'll see that in addition to an unholy mess of bitwise operations,
it does do some additions, on 32-bit big-endian words according to the
article.

But thinking of them as addition gives you the wrong mental picture;
they're simply one of many ways for a standard processor to mix bits
efficiently as far as SHA-1 is concerned. The algorithm is specified
as yielding a 160-bit binary blob, and can and should be thought of as
a black NSA-certified box with "warranty void if this seal is broken"
stickers. (Unless you're the one implementing it, of course. But then
you know what you're doing.)

-- 
Karl Hasselstr
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Add a birdview-on-the-source-code section to the u ..., Johannes Schindelin, (Tue May 8, 8:10 am)
Re: [PATCH] Add a birdview-on-the-source-code section to t ..., Johannes Schindelin, (Tue May 8, 2:07 pm)
Re: [PATCH] Add a birdview-on-the-source-code section to t ..., Johannes Schindelin, (Tue May 8, 4:10 pm)
Re: [PATCH] Add a birdview-on-the-source-code section to t ..., Johannes Schindelin, (Wed May 9, 2:27 am)
Re: [PATCH] Add a birdview-on-the-source-code section to t ..., Johannes Schindelin, (Wed May 9, 2:33 am)
Re: [PATCH] Add a birdview-on-the-source-code section to t ..., Johannes Schindelin, (Wed May 9, 2:38 am)
Re: [PATCH] Add a birdview-on-the-source-code section to t ..., Johannes Schindelin, (Wed May 9, 5:19 am)
Re: [PATCH] Add a birdview-on-the-source-code section to t ..., Johannes Schindelin, (Wed May 9, 5:50 am)
Re: [PATCH] Add a birdview-on-the-source-code section to t ..., Johannes Schindelin, (Wed May 9, 9:25 am)
Re: [PATCH] Add a birdview-on-the-source-code section to t ..., Johannes Schindelin, (Wed May 9, 1:15 pm)
Re: [PATCH] Add a birdview-on-the-source-code section to t ..., Johannes Schindelin, (Wed May 9, 3:23 pm)
Re: [PATCH] Add a birdview-on-the-source-code section to t ..., Karl , (Thu May 10, 1:01 pm)