Skip to content

continuationlabs/tigerzord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tigerzord

Current Version Build Status Dependencies belly-button-style

Run bcrypt.hash() as an AWS Lambda function. For bcrypt.compare() as a Lambda function, see dragonzord.

API

tigerzord uses the Lambda function interface in the following manner:

  • event - The following properties are expected in the event argument.
    • plainText (string) - The value to hash.
    • saltRounds (number) - The number of salt rounds. This is optional, and defaults to 10.
  • context - Unused.
  • callback(err, result) - A typical Node.js error first callback. If no error occurs, result will be the hashed representation of plainText.