SHA1 reversed bytes?

Avi Bryant avi.bryant at gmail.com
Thu Mar 10 14:23:42 UTC 2005


On Thu, 10 Mar 2005 06:19:41 -0800, Ned Konz <ned at squeakland.org> wrote:
> On Thursday 10 March 2005 6:00 am, Tony Garnock-Jones wrote:
> > Ned Konz wrote:
> > > Where is the SHA1 code?
> >
> > In the "Cryptography" package on SM.
> 
> What happens when you use the SecureHashAlgorithm code in the stock image,
> which looks like a newer copy of the SHA1 code in that package?

It outputs the correct, unreversed bytes, at least on my (big-endian) machine,

Avi



More information about the Squeak-dev mailing list