Versions Compared

Key

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

...

Uses the 2048 bit RSA private / public key algorithm. Separate keys are used for encryption and decryption so you can allow certain people to only encrypt passwords using the key in “passwordUtils.publickey” but they will not be able to decrypt any password unless they also have access to the private key stored in “passwordUtils.privatekey”.

Encrypting the password

Note that in order to support encrypted passwords (with JVMs older than 1.8 update 165), you will need to the have the “Unlimited Strength JCE Policy files” installed in your Java VM – these files are obtainable from where you download your JVM – e.g. java.sun.com

...