Skip to content
communicator-bcrypt / 1.28.3-preview

communicator-bcrypt 1.28.3-preview

Install from the command line:
Learn more about npm packages
$ npm install @dbos-inc/communicator-bcrypt@1.28.3-preview
Install via package.json:
"@dbos-inc/communicator-bcrypt": "1.28.3-preview"

About this version

DBOS bcrypt Step

This is a DBOS step for generating bcrypt hashes.

The reason that some bcrypt operations should be wrapped in a @Step is that they generate random numbers. By using a step, replayed or restarted workflows will get the recorded value and therefore have the same behavior as the original.

Available Functions

bcryptGenSalt(saltRounds?:number)

bcryptGenSalt produces a random salt. Optional parameter is the number of rounds.

bcryptHash(txt: string, saltRounds?:number)

bcryptHash generates a random salt and uses it to create a hash of txt.

Next Steps

Details


Assets

  • communicator-bcrypt-1.28.3-preview.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0