--- Begin Message ---
Hi folks
I'm playing with the PBKDF2 package of Udo:
http://www.smalltalkhub.com/#!/~UdoSchneider/PBKDF2
(thanks Udo), but I can't find how to validate a stored hash.
Can you point me in the right direction?
Thanks
Francis
--
View this message in context:
http://forum.w
--- Begin Message ---
Thank you Paul,
Saving the salt is not a big issue but I'd like something more simple.
In python I can store the salt with the password
see:https://pypi.python.org/pypi/bcrypt/3.1.0
# Hash a password for the first time, with a randomly-generated salt
hashed = bcrypt.hashpw(p
--- Begin Message ---
Thanks Pierce and hernanmd
I decided to adopt the solution of the prepended salt as Erik said in the
previous post.
Here is my code, I hope it can be useful for the community
First I hash the password with an empty salt
PBKDF2 derivedKeyHashFunction: SHA256 password: 'aSimp
--- Begin Message ---
Ah-ha! You are right, the proper way to encrypt is with the salt and then
prepend the salt.
Thanks
Francis
FIY does not give a ByteArray because UUID is a subclass of ByteArray and
asByteArray returns self
Erik Stel wrote
> Francis,
>
> You're using an empty salt when c
--- Begin Message ---
Evaluate:
(UUID fromString: '0608b9dc-02e4-4dd0-9f8a-ea45160df641') asByteArray =
(ByteArray fromHexString: '0608B9DC02E44DD09F8AEA45160DF641').
Francis
Erik Stel wrote
> Hi Francis,
>
> You write:
> Pharo Smalltalk Users mailing list wrote
>> FIY
>>
>> UUID new asByteArr
--- Begin Message ---
Right!
Sven Van Caekenberghe-2 wrote
> Now, using #hasEqualElements: would solve the original problem
--
View this message in context:
http://forum.world.st/Validate-password-with-PBKDF2-tp4952973p4953176.html
Sent from the Pharo Smalltalk Users mailing list archive a
--- Begin Message ---
That's fine, thanks Udo and thanks for your PBKDF2 code
Francis
Udo Schneider wrote
> Francis,
>
> I can relate to the idea of easily embedding PBKDF2/bcrypt into your
> code. However the functionality of /managing/ the salt is not specificed
> in PBKDF2. The spec only co
--- Begin Message ---
Hi Udo,
I've just downloaded your PBKDF2, but unfortunateley loading the stable
version
(Smalltalk at: #ConfigurationOfPBKDF2) project stableVersion load
makes the SHA256 class disappear.
So I reverted to a previous image and I loaded another version:
((Smalltalk at: #Con
--- Begin Message ---
Thanks!Francis
Udo Schneider wrote
> Hi Francis,I'll check.CU,Udo
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html--- End Message ---
--- Begin Message ---
Hi Guys,
I'm looking for a guide on how to load a project from github but I can't
find anything.
Specifically I want to load the Cryptography package. Udo, told me it is on
https://github.com/pharo-contributions/Cryptography, so I went to
https://github.com/pharo-contribution
--- Begin Message ---
Nobody?
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
--- End Message ---
wrote
> Hi Francis,
>
>> Le 16 juil. 2020 à 16:43, Francis via Pharo-users <
> pharo-users@.pharo
> > a écrit :
>>
>>
>> De: Francis <
> falzonidavide@
> >
>> Objet: Metacello, Github and Cryptography
>> Date: 16 juillet
--- Begin Message ---
Thank you Vitor, really comprehensive link.
Cheers
Francis
Vitor Medina Cruz wrote
> https://github.com/pharo-open-documentation/pharo-wiki/blob/master/General/Baselines.md
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
--- End Message ---
--- Begin Message ---
Hi Stéphane,
Thanks, I was not aware of that book.
Francis
Stéphane Ducasse wrote
> Hi francis
>
> did you look at the booklet on iceberg available at
> http://books.pharo.org?
>
> S
>
>> On 16 Jul 2020, at 16:43, Francis <
> falzonidavide@
> > wrote:
>>
>>
>> From:
14 matches
Mail list logo