Releases: danang-id/simple-crypto-js
Releases · danang-id/simple-crypto-js
3.0.1
2.5.1 (Legacy)
What's New in 2.5.1
- Improving typings.
- Add eslint and prettier for code cleaning.
- Upgrade devDependencies.
For full change-log, please refer to CHANGELOG file.
3.0.0
What's New in 3.0.0
- Upgrade
crypto-js
dependency to version4.0.0
. This version ofcrypto-js
replacesMath.random()
method with native crypto module, and will cause breaking changes in some environments that does not support native crypto module, like IE 10 earlier and React Native. If you are affected by these changes, please use SimpleCrypto^2.5.0
.
For full change-log, please refer to CHANGELOG file.
2.5.0
2.4.2
2.4.1
2.4.0
What's New in 2.4.0
- Added data type detection. Decryption process will now return data with its proper data type. For now, object, string, number and boolean are supported.
- Added
append()
andupdate()
functions, both to append and update the data buffer respectively. - Added overload functions for
decrpyt()
andencrypt()
. - Added initial support for encoding (see static variable
SimpleCrypto.encoders
). However, for now, it only supports UTF-8 even if you set another encoder. - Added chaining functions support. Functions that initially have no return, like
append()
,update()
,setSecret()
,setEncoder()
, now will returning its instance. - Added static function
SimpleCrypto.generateRandomString()
andSimpleCrypto.generateRandomWordArray()
.
For full change-log, please refer to CHANGELOG file.