View Javadoc

1   package com.atlassian.user.security.password;
2   
3   import java.util.HashMap;
4   
5   public interface PasswordEncryptor
6   {
7       /**
8        * @return an encrypted version of the original {@link String} unencryptedPassword
9        */
10      String encrypt(String unencryptedPassword);
11  
12      /**
13       * @deprecated since 13 March 2007, use constructor instead.
14       */
15      void init(HashMap args);
16  }