exports.hashOne = function (password) {
    return new Promise(function(resolve, reject) {
        bcrypt.hash(password, SALT_ROUNDS, function (err, hash) {
            if (err) {
                reject(err);