-
```
What steps will reproduce the problem?
In trying to understand CryptoJS, I wanted to mimic the OpenSSL command line
below:
$ echo -n "Message" | openssl enc -aes256 -k "password" -S 4521F8602741…
-
```
What steps will reproduce the problem?
In trying to understand CryptoJS, I wanted to mimic the OpenSSL command line
below:
$ echo -n "Message" | openssl enc -aes256 -k "password" -S 4521F8602741…
-
```
What steps will reproduce the problem?
In trying to understand CryptoJS, I wanted to mimic the OpenSSL command line
below:
$ echo -n "Message" | openssl enc -aes256 -k "password" -S 4521F8602741…
-
```
What steps will reproduce the problem?
In trying to understand CryptoJS, I wanted to mimic the OpenSSL command line
below:
$ echo -n "Message" | openssl enc -aes256 -k "password" -S 4521F8602741…
-
```
What steps will reproduce the problem?
In trying to understand CryptoJS, I wanted to mimic the OpenSSL command line
below:
$ echo -n "Message" | openssl enc -aes256 -k "password" -S 4521F8602741…
-
```
What steps will reproduce the problem?
In trying to understand CryptoJS, I wanted to mimic the OpenSSL command line
below:
$ echo -n "Message" | openssl enc -aes256 -k "password" -S 4521F8602741…
-
```
What steps will reproduce the problem?
In trying to understand CryptoJS, I wanted to mimic the OpenSSL command line
below:
$ echo -n "Message" | openssl enc -aes256 -k "password" -S 4521F8602741…
-
```
What steps will reproduce the problem?
In trying to understand CryptoJS, I wanted to mimic the OpenSSL command line
below:
$ echo -n "Message" | openssl enc -aes256 -k "password" -S 4521F8602741…
-
JSFiddle: http://jsfiddle.net/c5xf6hbd/
Repro:
```
const iv = CryptoJS.lib.WordArray.random(32);
console.log(iv.words);
const enc = CryptoJS.enc.Base64.stringify(iv)
console.log(enc);
const …
-
This code works great for me:
// Encrypt
var ciphertext = CryptoJS.AES.encrypt('my message', 'secret key 123');
console.log(ciphertext.toString());
…