Class SaltingEncryptor

java.lang.Object
com.atlassian.crowd.crypto.SaltingEncryptor
All Implemented Interfaces:
Encryptor

public class SaltingEncryptor extends Object implements Encryptor
Encryptor that delegates another Encryptor and adds to them the salting feature.

The implementation works correctly with decrypting both salted and non-salted passwords, so after enabling no migration of the existing passwords will be needed. Nevertheless, new encrypted passwords will be salted.