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.