global

def password_hash(password)

def password_hash(password)
  require 'bcrypt'
  BCrypt::Password.create(password, :cost=>password_hash_cost)
end