Skip to content

continuationlabs/dragonzord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dragonzord

Current Version Build Status Dependencies belly-button-style

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 the event argument.
    • value (string) - The plaintext value to compare.
    • hash (string) - The hash to compare value against.
  • context - Unused.
  • callback(err, result) - A typical Node.js error first callback. If no error occurs, result will be a Boolean representing the result of compare().