Searched refs:crypt (Results 1 - 25 of 27) sorted by relevance

12

/forgerock/opendj-b2.6/tests/unit-tests-testng/src/server/org/opends/server/util/
H A DTestCrypt.java44 private Crypt crypt = new Crypt(); field in class:TestCrypt
54 File cryptFile = TestCaseUtils.getTestResource("password-with-all-crypt-salts.txt");
69 * Because the salt is part of the crypt'ed password parameter, the
83 // Passowrds and their corresponding crypt values for various salts.
84 // These were generated using the crypt() implementation in Perl.
257 * Tests various clear-text passwords and a corresponding crypt value.
274 byte[] r = crypt.crypt(pw, s);
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/util/
H A DTestCrypt.java43 private Crypt crypt = new Crypt(); field in class:TestCrypt
53 File cryptFile = TestCaseUtils.getTestResource("password-with-all-crypt-salts.txt");
68 * Because the salt is part of the crypt'ed password parameter, the
82 // Passowrds and their corresponding crypt values for various salts.
83 // These were generated using the crypt() implementation in Perl.
256 * Tests various clear-text passwords and a corresponding crypt value.
273 byte[] r = crypt.crypt(pw, s);
/forgerock/opendj2.6.2/tests/unit-tests-testng/src/server/org/opends/server/util/
H A DTestCrypt.java44 private Crypt crypt = new Crypt(); field in class:TestCrypt
54 File cryptFile = TestCaseUtils.getTestResource("password-with-all-crypt-salts.txt");
69 * Because the salt is part of the crypt'ed password parameter, the
83 // Passowrds and their corresponding crypt values for various salts.
84 // These were generated using the crypt() implementation in Perl.
257 * Tests various clear-text passwords and a corresponding crypt value.
274 byte[] r = crypt.crypt(pw, s);
/forgerock/opendj2-hg/tests/unit-tests-testng/src/server/org/opends/server/util/
H A DTestCrypt.java43 private Crypt crypt = new Crypt(); field in class:TestCrypt
53 File cryptFile = TestCaseUtils.getTestResource("password-with-all-crypt-salts.txt");
68 * Because the salt is part of the crypt'ed password parameter, the
82 // Passowrds and their corresponding crypt values for various salts.
83 // These were generated using the crypt() implementation in Perl.
256 * Tests various clear-text passwords and a corresponding crypt value.
273 byte[] r = crypt.crypt(pw, s);
/forgerock/opendj2-jel-hg/tests/unit-tests-testng/src/server/org/opends/server/util/
H A DTestCrypt.java44 private Crypt crypt = new Crypt(); field in class:TestCrypt
54 File cryptFile = TestCaseUtils.getTestResource("password-with-all-crypt-salts.txt");
69 * Because the salt is part of the crypt'ed password parameter, the
83 // Passowrds and their corresponding crypt values for various salts.
84 // These were generated using the crypt() implementation in Perl.
257 * Tests various clear-text passwords and a corresponding crypt value.
274 byte[] r = crypt.crypt(pw, s);
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/util/
H A DTestCrypt.java44 private Crypt crypt = new Crypt(); field in class:TestCrypt
54 File cryptFile = TestCaseUtils.getTestResource("password-with-all-crypt-salts.txt");
69 * Because the salt is part of the crypt'ed password parameter, the
84 * Passwords and their corresponding crypt values for various salts.
85 * These were generated using the crypt() implementation in Perl.
259 * Tests various clear-text passwords and a corresponding crypt value.
276 byte[] r = crypt.crypt(pw, s);
/forgerock/opendj-b2.6/src/server/org/opends/server/extensions/
H A DCryptPasswordStorageScheme.java81 * when encoding new crypt hashes.
89 private final Crypt crypt = new Crypt(); field in class:CryptPasswordStorageScheme
141 digestBytes = crypt.crypt(plaintextBytes, randomSalt());
178 output = BSDMD5Crypt.crypt(plaintext.toString());
282 // value, and crypt.crypt() only looks at the first two bytes, so
286 ByteString.wrap(crypt.crypt(plaintextPasswordBytes, salt));
302 String userString = BSDMD5Crypt.crypt(plaintextPasswor
[all...]
/forgerock/opendj2/src/server/org/opends/server/extensions/
H A DCryptPasswordStorageScheme.java76 * when encoding new crypt hashes.
84 private final Crypt crypt = new Crypt(); field in class:CryptPasswordStorageScheme
134 digestBytes = crypt.crypt(plaintextBytes, randomSalt());
176 output = BSDMD5Crypt.crypt(plaintext);
297 // value, and crypt.crypt() only looks at the first two bytes, so
301 ByteString.wrap(crypt.crypt(plaintextPasswordBytes, salt));
322 String userString = BSDMD5Crypt.crypt(plaintextPasswor
[all...]
/forgerock/opendj2.6.2/src/server/org/opends/server/extensions/
H A DCryptPasswordStorageScheme.java81 * when encoding new crypt hashes.
89 private final Crypt crypt = new Crypt(); field in class:CryptPasswordStorageScheme
141 digestBytes = crypt.crypt(plaintextBytes, randomSalt());
178 output = BSDMD5Crypt.crypt(plaintext.toString());
282 // value, and crypt.crypt() only looks at the first two bytes, so
286 ByteString.wrap(crypt.crypt(plaintextPasswordBytes, salt));
302 String userString = BSDMD5Crypt.crypt(plaintextPasswor
[all...]
/forgerock/opendj2-jel-hg/src/server/org/opends/server/extensions/
H A DCryptPasswordStorageScheme.java84 * when encoding new crypt hashes.
92 private final Crypt crypt = new Crypt(); field in class:CryptPasswordStorageScheme
143 digestBytes = crypt.crypt(plaintextBytes, randomSalt());
180 output = BSDMD5Crypt.crypt(plaintext.toString());
311 // value, and crypt.crypt() only looks at the first two bytes, so
315 ByteString.wrap(crypt.crypt(plaintextPasswordBytes, salt));
331 String userString = BSDMD5Crypt.crypt(plaintextPasswor
[all...]
/forgerock/opendj2-hg/src/server/org/opends/server/extensions/
H A DCryptPasswordStorageScheme.java76 * when encoding new crypt hashes.
84 private final Crypt crypt = new Crypt(); field in class:CryptPasswordStorageScheme
134 digestBytes = crypt.crypt(plaintextBytes, randomSalt());
176 output = BSDMD5Crypt.crypt(plaintext);
297 // value, and crypt.crypt() only looks at the first two bytes, so
301 ByteString.wrap(crypt.crypt(plaintextPasswordBytes, salt));
322 String userString = BSDMD5Crypt.crypt(plaintextPasswor
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/extensions/
H A DCryptPasswordStorageScheme.java79 * when encoding new crypt hashes.
87 private final Crypt crypt = new Crypt(); field in class:CryptPasswordStorageScheme
133 digestBytes = crypt.crypt(plaintextBytes, randomSalt());
177 output = BSDMD5Crypt.crypt(plaintext);
298 // value, and crypt.crypt() only looks at the first two bytes, so
302 ByteString.wrap(crypt.crypt(plaintextPasswordBytes, salt));
325 String userString = BSDMD5Crypt.crypt(plaintextPasswor
[all...]
/forgerock/opendj-b2.6/src/server/org/opends/server/util/
H A DBSDMD5Crypt.java27 * BSD-compatible md5 password crypt
28 * Ported to Java from C based on crypt-md5.c by Poul-Henning Kamp,
78 * Encode the supplied password in BSD MD5 crypt form, using
88 static public String crypt(String password) method in class:BSDMD5Crypt
101 return BSDMD5Crypt.crypt(password, salt.toString());
105 * Encode the supplied password in BSD MD5 crypt form, using
118 static public String crypt(String password, String salt) method in class:BSDMD5Crypt
255 * @return the magic string for this crypt algorithm
279 System.out.println(BSDMD5Crypt.crypt(argv[0], argv[1]));
282 System.out.println(BSDMD5Crypt.crypt(arg
[all...]
H A DCrypt.java142 * Temps for crypt
379 * Encode the supplied password in unix crypt form with the provided
388 public byte[] crypt(byte[] pw, byte[] salt) method in class:Crypt
396 //TODO: crypt always returns same size array? So don't mess
/forgerock/opendj2/src/server/org/opends/server/util/
H A DBSDMD5Crypt.java26 * BSD-compatible md5 password crypt
27 * Ported to Java from C based on crypt-md5.c by Poul-Henning Kamp,
72 * Encode the supplied password in BSD MD5 crypt form, using
82 static public String crypt(ByteSequence password) method in class:BSDMD5Crypt
95 return BSDMD5Crypt.crypt(password, salt.toString());
99 * Encode the supplied password in BSD MD5 crypt form, using
112 static public String crypt(ByteSequence password, String salt) method in class:BSDMD5Crypt
251 * @return the magic string for this crypt algorithm
275 System.out.println(BSDMD5Crypt.crypt(ByteString.valueOf(argv[0]),
279 System.out.println(BSDMD5Crypt.crypt(ByteStrin
[all...]
H A DCrypt.java141 * Temps for crypt
378 * Encode the supplied password in unix crypt form with the provided
387 public byte[] crypt(byte[] pw, byte[] salt) method in class:Crypt
395 //TODO: crypt always returns same size array? So don't mess
/forgerock/opendj2.6.2/src/server/org/opends/server/util/
H A DBSDMD5Crypt.java27 * BSD-compatible md5 password crypt
28 * Ported to Java from C based on crypt-md5.c by Poul-Henning Kamp,
78 * Encode the supplied password in BSD MD5 crypt form, using
88 static public String crypt(String password) method in class:BSDMD5Crypt
101 return BSDMD5Crypt.crypt(password, salt.toString());
105 * Encode the supplied password in BSD MD5 crypt form, using
118 static public String crypt(String password, String salt) method in class:BSDMD5Crypt
255 * @return the magic string for this crypt algorithm
279 System.out.println(BSDMD5Crypt.crypt(argv[0], argv[1]));
282 System.out.println(BSDMD5Crypt.crypt(arg
[all...]
H A DCrypt.java142 * Temps for crypt
379 * Encode the supplied password in unix crypt form with the provided
388 public byte[] crypt(byte[] pw, byte[] salt) method in class:Crypt
396 //TODO: crypt always returns same size array? So don't mess
/forgerock/opendj2-jel-hg/src/server/org/opends/server/util/
H A DBSDMD5Crypt.java27 * BSD-compatible md5 password crypt
28 * Ported to Java from C based on crypt-md5.c by Poul-Henning Kamp,
78 * Encode the supplied password in BSD MD5 crypt form, using
88 static public String crypt(String password) method in class:BSDMD5Crypt
101 return BSDMD5Crypt.crypt(password, salt.toString());
105 * Encode the supplied password in BSD MD5 crypt form, using
118 static public String crypt(String password, String salt) method in class:BSDMD5Crypt
255 * @return the magic string for this crypt algorithm
279 System.out.println(BSDMD5Crypt.crypt(argv[0], argv[1]));
282 System.out.println(BSDMD5Crypt.crypt(arg
[all...]
H A DCrypt.java142 * Temps for crypt
379 * Encode the supplied password in unix crypt form with the provided
388 public byte[] crypt(byte[] pw, byte[] salt) method in class:Crypt
396 //TODO: crypt always returns same size array? So don't mess
/forgerock/opendj2-hg/src/server/org/opends/server/util/
H A DBSDMD5Crypt.java26 * BSD-compatible md5 password crypt
27 * Ported to Java from C based on crypt-md5.c by Poul-Henning Kamp,
72 * Encode the supplied password in BSD MD5 crypt form, using
82 static public String crypt(ByteSequence password) method in class:BSDMD5Crypt
95 return BSDMD5Crypt.crypt(password, salt.toString());
99 * Encode the supplied password in BSD MD5 crypt form, using
112 static public String crypt(ByteSequence password, String salt) method in class:BSDMD5Crypt
251 * @return the magic string for this crypt algorithm
275 System.out.println(BSDMD5Crypt.crypt(ByteString.valueOf(argv[0]),
279 System.out.println(BSDMD5Crypt.crypt(ByteStrin
[all...]
H A DCrypt.java141 * Temps for crypt
378 * Encode the supplied password in unix crypt form with the provided
387 public byte[] crypt(byte[] pw, byte[] salt) method in class:Crypt
395 //TODO: crypt always returns same size array? So don't mess
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/util/
H A DBSDMD5Crypt.java26 * BSD-compatible md5 password crypt
27 * Ported to Java from C based on crypt-md5.c by Poul-Henning Kamp,
72 * Encode the supplied password in BSD MD5 crypt form, using
82 public static String crypt(ByteSequence password) method in class:BSDMD5Crypt
95 return BSDMD5Crypt.crypt(password, salt.toString());
99 * Encode the supplied password in BSD MD5 crypt form, using
112 public static String crypt(ByteSequence password, String salt) method in class:BSDMD5Crypt
251 * @return the magic string for this crypt algorithm
275 System.out.println(BSDMD5Crypt.crypt(ByteString.valueOfUtf8(argv[0]),
279 System.out.println(BSDMD5Crypt.crypt(ByteStrin
[all...]
H A DCrypt.java142 * Temps for crypt
385 * Encode the supplied password in unix crypt form with the provided
393 public byte[] crypt(byte[] pw, byte[] salt) method in class:Crypt
401 //TODO: crypt always returns same size array? So don't mess
/forgerock/jee-agents-v3.5/jee-agents-sdk/src/main/java/com/sun/identity/agents/util/
H A DTransportToken.java106 ICrypt crypt = ServiceFactory.getCryptProvider();
108 crypt.decrypt(
236 ICrypt crypt = ServiceFactory.getCryptProvider();
238 + crypt.encrypt(String.valueOf(System.currentTimeMillis())

Completed in 123 milliseconds

12