Releases: carteni/crypto-bundle
Releases · carteni/crypto-bundle
v2.1.0
v2.0.0
- Added Encryption::encryptResourceWithKey
- Added Encryption::encryptResourceWithPassword
- Added Encryption::decryptResourceWithKey
- Added Encryption::decryptResourceWithPassword
- Added EncryptionWrapper::encryptResourceWithKey
- Added EncryptionWrapper::encryptResourceWithPassword
- Added EncryptionWrapper::decryptResourceWithKey
- Added EncryptionWrapper::decryptResourceWithPassword
- Removed deprecations
v1.3.0
- Added Encryption::encryptWithPassword
- Added Encryption::decryptWithPassword
- Added Encryption::encryptFileWithPassword
- Added Encryption::decryptFileWithPassword
- Added EncryptionWrapper::encryptWithPassword
- Added EncryptionWrapper::decryptWithPassword
- EncryptionWrapper::encryptFileWithPassword
- EncryptionWrapper::decryptFileWithPassword
This methods are intentionally slow, using a lot of CPU resources for a fraction of a second.
They apply key stretching to the password in order to make password guessing attacks more computationally expensive.
If you need a faster way to encrypt multiple ciphertexts under the same secret, see encryptWithKey, decryptWithKey,
encryptFileWithKey, decryptFileWithKey and use a secret to generate the Key.
- Tests improved
v1.2.0
- Deprecated Encryption::encrypt. Added Encryption::encryptWithKey
- Deprecated Encryption::decrypt. Added Encryption::decryptWithKey
- Deprecated Encryption::encryptFile. Added Encryption::encryptFileWithKey
- Deprecated Encryption::decryptFile. Added Encryption::decryptFileWithKey
- Deprecated EncryptionWrapper::encrypt. Added EncryptionWrapper::encryptWithKey
- Deprecated EncryptionWrapper::decrypt. Added EncryptionWrapper::decryptWithKey
- Deprecated EncryptionWrapper::encryptFile. EncryptionWrapper::encryptFileWithKey
- Deprecated EncryptionWrapper::decryptFile. EncryptionWrapper::decryptFileWithKey