On Wed, May 7, 2014 at 4:34 PM, Sven Van Caekenberghe <[email protected]> wrote:

> #asString ? #hex ?
>
> BTW, the result of hashing *is* always binary ...
>

I filed out the old one from the 1.4 image and there is a different
implementation...

sha1 := SecureHashAlgorithm new.
hashStage1 := sha1 hashMessage: password.

hashStage1 is a LargePositiveInteger...

Quite different thing.

Phil

>
> On 07 May 2014, at 16:20, [email protected] wrote:
>
> > Yes but it doesn't look like compatible.
> >
> > I replaced the call by SHA1 new hashMessage: 'azerty' and this gives a
> ByteArray where SecureHashAlgorithm in 1.4 gives a stirng apparently.
> >
> > I'll look in a 1.4
> >
> > Phil
> >
> > On Wed, May 7, 2014 at 4:08 PM, Esteban Lorenzano <[email protected]>
> wrote:
> > it is SHA1 (a class in pharo-core)
> >
> > On 07 May 2014, at 16:06, [email protected] wrote:
> >
> > > Where is that package gone ?
> > >
> > > It is a dependency of StdMySql.
> > >
> > > TIA
> > > Phil
> >
> >
> >
>
>
>

Attachment: SecureHashAlgorithm.st
Description: application/vnd.sailingtracker.track

Reply via email to