Skip to content

Commit 61b6a4e

Browse files
committed
Merge branch 'release/3.2.1' into develop
2 parents 1033040 + 78bde5f commit 61b6a4e

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,3 +208,28 @@ console.log(decryptedData); // [{id: 1}, {id: 2}]
208208
- ```crypto-js/pad-iso97971```
209209
- ```crypto-js/pad-zeropadding```
210210
- ```crypto-js/pad-nopadding```
211+
212+
213+
## Release notes
214+
215+
### 3.2.1
216+
217+
The usage of the native crypto module has been fixed. The import and access of the native crypto module has been improved.
218+
219+
### 3.2.0
220+
221+
In this version `Math.random()` has been replaced by the random methods of the native crypto module.
222+
223+
For this reason CryptoJS might does not run in some JavaScript environments without native crypto module. Such as IE 10 or before.
224+
225+
If it's absolute required to run CryptoJS in such an environment, stay with `3.1.x` version. Encrypting and decrypting stays compatible. But keep in mind `3.1.x` versions still use `Math.random()` which is cryptographically not secure, as it's not random enough.
226+
227+
This version came along with `CRITICAL` `BUG`.
228+
229+
DO NOT USE THIS VERSION! Please, go for a newer version!
230+
231+
### 3.1.x
232+
233+
The `3.1.x` are based on the original CryptoJS, wrapped in CommonJS modules.
234+
235+

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "crypto-js",
33
"title": "crypto-js",
44
"description": "JavaScript library of crypto standards.",
5-
"version": "3.2.0",
5+
"version": "3.2.1",
66
"homepage": "http://github.com/brix/crypto-js",
77
"author": {
88
"name": "Evan Vosberg",

0 commit comments

Comments
 (0)