bcrypt hash and verify

Hash a password with bcrypt or check a password against a hash.