I'm trying to hash + salt user passwords with the Bcrypt library that ships with Crystal.
The following code produces an "Invalid salt size" error, when run in a playground.
require "crypto/bcrypt"
user = "Jones"
pass = "password"
temp = Crypto::Bcrypt.new(pass, user)