Bcrypt is a useful library for erlang encryption. It is used by the Colosimo sample app
I had some trouble installing bcrypt.
When i typed the following in terminal:
erl
crypto:start().
bcrypt:start().
I got the following exception:
** exception error: undefined function bcrypt:start/0
or the following from ChicagoBoss:
{undef,
[{bcrypt,start,[],[]},
To get it working, start bcrypt using:
erl -pa ebin -boot start_sasl -s crypto -s bcrypt
From the top, Install in Erlang installation dir and start bcrypt as follows
sudo su
cd /erlanginstalldir/lib
git clone https://github.com/mrinalwadhwa/erlang-bcrypt.git
cd erlang-bcrypt
make
erl -pa ebin -boot start_sasl -s crypto -s bcrypt
Update
Good overview of bcrypt in ChicagoBoss
References:
https://github.com/mrinalwadhwa/erlang-bcrypt
https://github.com/imperialwicket/colosimo/issues/1
https://github.com/imperialwicket/colosimo/pull/2