Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Property Encryption

...

For the new property encryption mechanism, a password is required. This password serves as the secret key that is used for encryption. We recommend that you use a strong password.

...

  • Password Based Encryption with SHA-512 hashes and AES-256 encryption
  • Random salt when encrypting the property
  • A random input vector when encrypting the property
  • 1000 hashing iterations

Customizing property encryption

...

The property encryption mechanism uses sensible defaults. If you want to customize the way your properties are encrypted/decrypted, you can add an org.jasypt.encryption.pbe.PBEStringEncryptor bean to your project. You can reference this bean by setting this property:

...