[Pharo-dev] How to encrypt a password?
varvello at yahoo.com
Thu Nov 21 03:59:51 EST 2013
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:
but there is no BCryptLinuxFFI there.
Can you help me please?
Paul DeBruicker wrote
> Hi Mariano,
> I've made a FFI library on Squeaksource that works on Linux.
> You need to install the 32 bit versions of libcrypt and libxcrypt if
> you're using a 64 bit linux os.
> Using crypt can hash passwords using MD5, DES, SHA256, SHA512.
> Using libxcrypt can hash passwords using bcrypt.
> If its for a new installation use bcrypt or SHA512 to hash the
> passwords. bcrypt is better because its slower, and allegedly future
> to get a hashed password use
> BCryptLinuxFFI bcrypt:'mypassword'
> to check it against a stored hash use:
> BCryptLinuxFFI check:'mypassword' against: storedHash
View this message in context: http://forum.world.st/How-to-encrypt-a-password-tp3933585p4723920.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
More information about the Pharo-dev