0.2.0 • Published 8 years ago
dragonzord v0.2.0
dragonzord
Run bcrypt.compare() as an AWS Lambda function. For bcrypt.hash() as a Lambda function, see tigerzord.
API
dragonzord uses the Lambda function interface in the following manner:
event- The following properties are expected in theeventargument.value(string) - The plaintext value to compare.hash(string) - The hash to comparevalueagainst.
context- Unused.callback(err, result)- A typical Node.js error first callback. If no error occurs,resultwill be a Boolean representing the result ofcompare().