Files
node/doc/api
Shigeki Ohtsu 41bf40e209 crypto: warn if counter mode used in createCipher
`crypto.createCipher()` sets the fixed IV derived from password and it
leads to a security risk of nonce reuse when counter mode is used.
A warning is emitted when CTR, GCM or CCM is used in
`crypto.createCipher()` to notify users to avoid nonce reuse.

Fixes: https://github.com/nodejs/node/issues/13801
PR-URL: https://github.com/nodejs/node/pull/13821
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
2017-09-12 03:18:37 +02:00
..
2017-09-12 03:18:36 +02:00
2017-09-12 03:18:36 +02:00
2017-07-18 19:56:47 +02:00
2017-09-12 03:18:35 +02:00
2016-04-20 16:34:27 -07:00
2017-07-19 15:01:59 -04:00
2016-12-20 12:31:09 -08:00