[Pharo-dev] How to encrypt a password?

Mariano Martinez Peck marianopeck at gmail.com
Thu Nov 21 12:26:34 EST 2013


Hi Paul, and just to be sure I understand...none of them could work as a
two-way encryption, right?
The only one is your Pharo's version of Blowfish but that only works with 8
chars long. Is it like this? Or is there any other two-way encryption?

Thanks!


On Thu, Nov 21, 2013 at 1:35 PM, Paul DeBruicker <pdebruic at gmail.com> wrote:

> Davide Varvello wrote
> > Hi Paul,
> >  I resume this old thread because it's not clear to me which package
> > download to make BCryptLinuxFFI work
> >
> > In an other thread you point to:
> > MCHttpRepository
> >         location: 'http://smalltalkhub.com/mc/Cryptography/Blowfish/main
> '
> >         user: ''
> >         password: ''
> >
> > but there is no BCryptLinuxFFI there.
> > Can you help me please?
> >
> > Cheers
> > Davide
>
>
> Hi Davide,
>
>
> You need to be on Linux and
>
> On pharo or squeak
>  - have a 32bit version of libxcrypt installed.
>  - use this mcz
>
>
> http://www.squeaksource.com/Cryptography/PasswordHashingFFI-PaulDeBruicker.16.mcz
>            or
>
>
> http://www.smalltalkhub.com/mc/Cryptography/Cryptography/main/PasswordHashingFFI-PaulDeBruicker.16.mcz
>            (they're the same file)
>
> On GemStone
>  - have a 64bit version of libxcrypt installed
>  - use this mcz
>
> http://seaside.gemtalksystems.com/ss/Cryptography/PasswordHashingFFI-PaulDeBruicker.10.mcz
>
>
> The Blowfish stuff is an implementation of the cipher
> (https://en.wikipedia.org/wiki/Blowfish_%28cipher%29).  BCrypt uses
> blowfish
> as its encryption mechanisim, calling it tens to hundreds of thousands of
> times.
>
>
> The PasswordHashingFFI package also includes support for accessing the
> crypt(3) library so you can use SHA512 password hashing too if you like (or
> other mechanisms it supports like DES, MD5, etc)
>
>
> Hope this helps
>
> Paul
>
>
>
> --
> View this message in context:
> http://forum.world.st/How-to-encrypt-a-password-tp3933585p4724035.html
> Sent from the Pharo Smalltalk Developers mailing list archive at
> Nabble.com.
>
>


-- 
Mariano
http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20131121/1c18d9dc/attachment-0002.html>


More information about the Pharo-dev mailing list