I am having issue with CryptoJS.
I tried to encrypt the a string but it is giving the different output.
String: "test message" Key: "123456"
This is the testing code I tried to run
<script src="http://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/aes.js"></script>
<script>
var encrypted = CryptoJS.AES.encrypt("test message", "123456");
alert(encrypted); //U2FsdGVkX19Nf4gjPS3MUcbKBD10P/Ty/4EwUF1PMhc=
</script>
and it returned the output U2FsdGVkX19Nf4gjPS3MUcbKBD10P/Ty/4EwUF1PMhc=
But in this website http://aesencryption.net/ I am getting fulfuBaIGS0AqxwyXoPCgw== as the result.
How do I use CryptoJS to generate the encrypted output as fulfuBaIGS0AqxwyXoPCgw==?