Skip to content

Commit

Permalink
ripemd160 is now working
Browse files Browse the repository at this point in the history
  • Loading branch information
Marak committed Jul 21, 2010
1 parent 0b769a6 commit b100916
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion node-demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,11 @@ var sha512 = hash.sha512( user_password );
sys.puts(sha512);

var salted_sha512 = hash.sha512( user_password, salt);
sys.puts(salted_sha512);
sys.puts(salted_sha512);

/****** ripemd160 ******/
var ripemd160 = hash.ripemd160( user_password );
sys.puts(ripemd160);

var salted_ripemd160 = hash.ripemd160( user_password, salt);
sys.puts(salted_ripemd160);

0 comments on commit b100916

Please sign in to comment.