Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

npm mongoose encryption

var secret = process.env.SOME_LONG_UNGUESSABLE_STRING;
userSchema.plugin(encrypt, { secret: secret });
Source by www.npmjs.com #
 
PREVIOUS NEXT
Tagged: #npm #mongoose #encryption
ADD COMMENT
Topic
Name
4+3 =