@Test public void encryptPassword() throws Exception { assertEquals(TripleDES.encryptPassword("ana123!@#"), "BsPbYGM8+FqTH7yl3wYsqg=="); }
public static String encryptPassword(@NotNull final String aPlainPass) throws Exception { byte[] encBytes = encryptString(aPlainPass.getBytes(DEFAULT_CODEPAGE)); return Base64.encodeBase64String(encBytes); }
TripleDES { public static String encryptPassword(@NotNull final String aPlainPass) throws Exception { byte[] encBytes = encryptString(aPlainPass.getBytes(DEFAULT_CODEPAGE)); return Base64.encodeBase64String(encBytes); } }
TripleDES { public static String encryptPassword(@NotNull final String aPlainPass) throws Exception { byte[] encBytes = encryptString(aPlainPass.getBytes(DEFAULT_CODEPAGE)); return Base64.encodeBase64String(encBytes); }  }
TripleDES { public static String encryptPassword(@NotNull final String aPlainPass) throws Exception { byte[] encBytes = encryptString(aPlainPass.getBytes(DEFAULT_CODEPAGE)); return Base64.encodeBase64String(encBytes); }  static String encryptPassword(@NotNull final String aPlainPass); static byte[] md5Hash(@NotNull final String toHash); }
TripleDES { public static String encryptPassword(@NotNull final String aPlainPass) throws Exception { byte[] encBytes = encryptString(aPlainPass.getBytes(DEFAULT_CODEPAGE)); return Base64.encodeBase64String(encBytes); }  static String encryptPassword(@NotNull final String aPlainPass); static byte[] md5Hash(@NotNull final String toHash);  }