- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for getNTLMResponse (0.98 sec)
-
src/test/java/jcifs/smb/NtlmUtilTest.java
} @Test @DisplayName("getNTLMResponse: overloads produce equal 24-byte response") void testGetNTLMResponse_overloads() throws GeneralSecurityException { // Arrange String password = "password"; byte[] challenge = hex("1122334455667788"); // Act byte[] r1 = NtlmUtil.getNTLMResponse(password, challenge);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmUtil.java
* @return the calculated response * @throws GeneralSecurityException if a cryptographic error occurs */ public static byte[] getNTLMResponse(final String password, final byte[] challenge) throws GeneralSecurityException { return getNTLMResponse(getNTHash(password), challenge); } /** * Generate the Unicode MD4 hash for the password associated with these credentials.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java
assertNotNull(response); assertEquals(24, response.length); } // Test getNTLMResponse @Test void testGetNTLMResponse() { byte[] challenge = { 1, 2, 3, 4, 5, 6, 7, 8 }; byte[] response = NtlmPasswordAuthentication.getNTLMResponse("password", challenge); assertNotNull(response); assertEquals(24, response.length); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java
* * @param password the password to hash * @param challenge the server challenge bytes * @return the Unicode MD4 hash response */ static public byte[] getNTLMResponse(final String password, final byte[] challenge) { byte[] uni = null; final byte[] p21 = new byte[21]; final byte[] p24 = new byte[24]; try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 26.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type3Message.java
public static byte[] getNTResponse(final Type2Message type2, final String password) { if (type2 == null || password == null) { return null; } return NtlmPasswordAuthentication.getNTLMResponse(password, type2.getChallenge()); } /** * Returns the default domain from the current environment. * * @return The default domain. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 24.1K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type3Message.java
throws GeneralSecurityException { if (type2 == null || passwordHash == null) { return null; } return NtlmUtil.getNTLMResponse(passwordHash, type2.getChallenge()); } private void parse(final byte[] material) throws IOException { int pos = 0; for (int i = 0; i < 8; i++) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 32.7K bytes - Viewed (0)