Created
February 21, 2014 14:28
-
-
Save ferd/9135238 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| λ erlpass → master → make compile | |
| /Users/ferd/local/bin/rebar get-deps compile | |
| ==> erlpass (get-deps) | |
| Pulling bcrypt from {git,"https://github.com/opscode/erlang-bcrypt.git", | |
| {tag,"0.5.0.3"}} | |
| Cloning into 'bcrypt'... | |
| ==> bcrypt (get-deps) | |
| ==> bcrypt (compile) | |
| Compiled src/bcrypt_nif.erl | |
| Compiled src/bcrypt_app.erl | |
| Compiled src/bcrypt.erl | |
| Compiled src/bcrypt_nif_worker.erl | |
| Compiled src/bcrypt_port_sup.erl | |
| Compiled src/bcrypt_pool.erl | |
| Compiled src/bcrypt_port.erl | |
| Compiled src/bcrypt_sup.erl | |
| Compiling c_src/async_queue.c | |
| Compiling c_src/bcrypt.c | |
| Compiling c_src/bcrypt_nif.c | |
| Compiling c_src/bcrypt_port.c | |
| Compiling c_src/blowfish.c | |
| cc -I/Users/ferd/.kerl/builds/R16B03-1/release_R16B03-1/lib/erl_interface-3.7.15/include -I/Users/ferd/.kerl/builds/R16B03-1/release_R16B03-1/erts-5.10.4/include -L/Users/ferd/.kerl/builds/R16B03-1/release_R16B03-1/lib/erl_interface-3.7.15/lib -lerl_interface -lei bcrypt_port.c bcrypt.o blowfish.o -L/Users/ferd/.kerl/builds/R16B03-1/release_R16B03-1/lib/erl_interface-3.7.15/lib -lerl_interface -lei -lpthread -o ../priv/bcrypt | |
| ==> erlpass (compile) | |
| Compiled src/erlpass.erl | |
| ==> erlpass (compile) | |
| λ erlpass → master → erl -pa ebin -env ERL_LIBS deps | |
| Erlang R16B03-1 (erts-5.10.4) [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false] | |
| Eshell V5.10.4 (abort with ^G) | |
| 1> application:start(crypto), application:start(bcrypt), application:load(erlpass). | |
| ok | |
| 2> Hash = erlpass:hash("my voice is my password"). | |
| <<"$2a$12$1fBykd250nX1nwWnUq6s7.NhlghIBQZ/5uVIOucGqEEM/FVZzPz0e">> |
igaray
commented
Feb 21, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment