smarkets/erlang-bcrypt — pull request #5 by jcomellas (2012-04-14 00:18:12+00:00)
Title: Modify gen_salt/0 and hashpw/2 to return binaries instead of strings

As many people have started using binaries instead of strings nowadays I've made the gen_salt/0 and hashpw/2 functions return binaries. I'm sending the pull request in case anybody else is interested. After these modifications all unit tests passed. Please let me know if you find any error in my changes.