[Pharo-dev] SHA1 changed ??
estebanlm at gmail.com
Fri Aug 30 07:35:22 EDT 2013
I'm not aware of such a change...
this is probably an error/side effect of something else.
On Aug 29, 2013, at 3:05 PM, Sven Van Caekenberghe <sven at stfx.eu> wrote:
> Why was the contract of SHA1>>hashStream: changed ?
> It used to return a ByteArray like other HashFunction subclasses, now it returns an Integer. I see that you also changed the tests with this assumption.
> MD5 hashMessage: 'foo'.
> #[172 189 24 219 76 194 248 92 237 239 101 79 204 196 164 216]
> SHA1 hashMessage: 'foo'.
> It broke Zinc-WebSockets in 3.0 and now I will have to do an ugly hack to make the code work on multiple Pharo versions.
> Can you please explain ?
More information about the Pharo-dev