tigerzord

0.2.0 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i tigerzord

Weekly Downloads

0

Version

0.2.0

License

MIT

Last publish

Collaborators

  • cjihrig