A node that can be used for encrypting user passwords compatible with PHP crypt() function
- encrypt
- verify
Uses twin-bcrypt.js
-
field: field to encrypt or to verify against (string) *
-
verify: field to verify (hash) *
The field specified will be replaced with the encrypted version if the action is set to encrypt.
msg.match
will be either true or false
Fork of node-red-contrib-bcrypt Based on work started by Shane Girish at bcrypt-nodejs (MIT-licensed) which is itself based on javascript-bcrypt (New BSD-licensed)