Skip to content

Commit 78bde5f

Browse files
committed
Add release notes.
1 parent 409ae76 commit 78bde5f

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
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+

0 commit comments

Comments
 (0)