shaneMangudi / bcrypt-nodejs

Native implementation of bcrypt for NodeJS
Other
574 stars 69 forks source link

Fixing parameters in #hash #14

Closed andrejewski closed 9 years ago

andrejewski commented 11 years ago

This just assigns progress to callback if callback is not already provided. This is a simple fix, with backwards compatibility.

JedWatson commented 11 years ago

FWIW I was about to make this change, so that the hash method arguments match those of node.bcrypt.js, when I saw this pull request. Would love to see it merged.