Hi Mariano,

I've made a FFI library on Squeaksource that works on Linux.

http://www.squeaksource.com/Cryptography/PasswordHashingFFI-PaulDeBruicker.8.mcz

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 proof.


to get a hashed password use

BCryptLinuxFFI bcrypt:'mypassword'

to check it against a stored hash use:

BCryptLinuxFFI check:'mypassword' against: storedHash



Reply via email to