Skip to content

Releases: carteni/crypto-bundle

v2.1.0

07 Jun 08:40
Compare
Choose a tag to compare
  • Added mes_crypto.loader service to load encoded key and secret by a custom CryptoLoader
  • KeyGeneratorCommand and SecretGeneratorCommand defined as services

v2.0.0

23 May 14:31
Compare
Choose a tag to compare
  • 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

16 May 07:21
Compare
Choose a tag to compare
  • 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

14 May 13:50
Compare
Choose a tag to compare
  • 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

v1.1.0

12 May 16:03
Compare
Choose a tag to compare
  • Added ability to encrypt files:
    • EncryptionInterface::encryptFile
    • EncryptionInterface::decryptFile

v1.0.1

10 May 13:02
Compare
Choose a tag to compare
  • Fixed: KeyGeneratorCommand shows process debug information (-vvv) only if --dir option is defined.
  • .crypto file is created in read-only mode.

v1.0.0

16 Mar 09:26
Compare
Choose a tag to compare

Initial release.