Update tutorial and comments for A6 to match Node.js best practices#104
Conversation
Updating my fork with latest from OWASP master
|
@jboyer2012 Thanks for the PR. A great suggestion. A few minor items regarding conventions:
Other changes look great and I will merge the PR as soon as you update the PR. Thanks 👍 |
|
@ckarande I have updated the code per your instructions. You're good to go to merge. Thanks for the help! |
According to Node's Crypto API docs, the default initialization vector used by the createCipher function is not random enough to protect against brute-force attacks. This code change updates the tutorial and comments for A6 to provide guidance on how to create a properly random IV for use in the AES256 algorithm.