On 07 May 2014, at 16:43, phil@highoctane.be wrote:
On Wed, May 7, 2014 at 4:34 PM, Sven Van Caekenberghe <sven@stfx.eu> 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.
yes, but it was wrong :) Esteban
Phil
On 07 May 2014, at 16:20, phil@highoctane.be 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 <estebanlm@gmail.com> wrote: it is SHA1 (a class in pharo-core)
On 07 May 2014, at 16:06, phil@highoctane.be wrote:
Where is that package gone ?
It is a dependency of StdMySql.
TIA Phil
<SecureHashAlgorithm.st>