@Test public void testUnixCryptStrings() { assertEquals("xxWAum7tHdIUw", Crypt.crypt("secret", "xx")); assertEquals("12UFlHxel6uMM", Crypt.crypt("", "12")); assertEquals("12FJgqDtVOg7Q", Crypt.crypt("secret", "12")); assertEquals("12FJgqDtVOg7Q", Crypt.crypt("secret", "12345678")); }
public static String crypt(final byte[] original) { return crypt(original, null); }
UnixCrypt { public static String crypt(final byte[] original) { return crypt(original, null); } }
UnixCrypt { public static String crypt(final byte[] original) { return crypt(original, null); }  }
UnixCrypt { public static String crypt(final byte[] original) { return crypt(original, null); }  static String crypt(final byte[] original); static String crypt(final byte[] original, String salt); static String crypt(final String original); static String crypt(final String original, final String salt); }
UnixCrypt { public static String crypt(final byte[] original) { return crypt(original, null); }  static String crypt(final byte[] original); static String crypt(final byte[] original, String salt); static String crypt(final String original); static String crypt(final String original, final String salt);  }