bcrypt password storage

Bcrypt is an algorithm for securely storing passwords. If you are storing passwords, you must use this, rather than any other encoding scheme.

function O.security.bcrypt.create(password)

Encode password using Bcrypt. Returns a string which can be used to store the password in a database.

function O.security.bcrypt.verify(password, encoded)

Returns true if password matches the encoded password.