On 11-10-27 11:06 AM, Paul DeBruicker wrote:
The PasswordHashingFFI package + FFI is all you need to make SHA256 hashed passwords in Ubuntu.
This is because to run Pharo on Ubuntu you already have the libcrypt or Ubuntu 64 bit you've already installed ia32-libs which has the 32 bit version of libcrypt.
If you want to use bcrypt you'll need to install the 32 bit version of libxcrypt1. For 32 bit Ubuntu it should be in Synaptic. For 64Bit you need to download the i386 .deb package from here:
http://packages.ubuntu.com/oneiric/libxcrypt1
extract it in the downloaded directory with
sudo dpkg -x . libxcrypt1_2.4-1build1_i386.deb
then copy the libxcrypt.so.1.2.4 file to wherever the 32 bit libraries on your machine are an then in the 32 bit library directory run
sudo ln -s libxcrypt.so.1 libxcrypt.so.1.2.4