File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " bcryptjs" ,
33 "description" : " Optimized bcrypt in plain JavaScript with zero dependencies." ,
4- "version" : " 2.0.2 " ,
4+ "version" : " 2.1.0 " ,
55 "main" : " dist/bcrypt-isaac.js" ,
66 "license" : " New-BSD" ,
77 "homepage" : " http://dcode.io/" ,
Original file line number Diff line number Diff line change 8181
8282 /**
8383 * Sets the pseudo random number generator to use as a fallback if neither node's `crypto` module nor the Web Crypto
84- * API is available. Please note: It is highly important that this PRNG is cryptographically secure!
84+ * API is available. Please note: It is highly important that the PRNG used is cryptographically secure and that it
85+ * is seeded properly!
8586 * @param {?function(number):!Array.<number> } random Function taking the number of bytes to generate as its
8687 * sole argument, returning the corresponding array of cryptographically secure random byte values.
8788 * @see http://nodejs.org/api/crypto.html
Original file line number Diff line number Diff line change 9090
9191 /**
9292 * Sets the pseudo random number generator to use as a fallback if neither node's `crypto` module nor the Web Crypto
93- * API is available. Please note: It is highly important that this PRNG is cryptographically secure!
93+ * API is available. Please note: It is highly important that the PRNG used is cryptographically secure and that it
94+ * is seeded properly!
9495 * @param {?function(number):!Array.<number> } random Function taking the number of bytes to generate as its
9596 * sole argument, returning the corresponding array of cryptographically secure random byte values.
9697 * @see http://nodejs.org/api/crypto.html
You can’t perform that action at this time.
0 commit comments