luffywu / crypto-js

Automatically exported from code.google.com/p/crypto-js
0 stars 0 forks source link

Documentation is lacking depth for AES.encrypt #111

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. CryptoJS.AES.encrypt("Message", "Secret Passphrase");

What is the expected output? What do you see instead?

The output is "random", in the sense that the documentation does not specify 
how or what output is generated. The key derivation method is missing. It could 
be either EVP_BytesToKey or PBKDF2, and in both cases it is unspecified where 
the salt goes.

What version of the product are you using? On what operating system?

CryptoJS 3.1

Original issue reported on code.google.com by maarten....@gmail.com on 23 Dec 2013 at 1:39