- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for nTOWFv2 (0.3 seconds)
-
src/main/java/jcifs/smb/NtlmUtil.java
return ret; } /** * Generates the NTOWFv2 hash for the given domain, username, and password. * * @param domain the authentication domain * @param username the username * @param password the password * * @return the calculated mac */ public static byte[] nTOWFv2(final String domain, final String username, final String password) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
} @Test @DisplayName("nTOWFv2: overloads produce same result and domain affects key") void testNTOWFv2_overloadsAndDomainSensitivity() { // Arrange String domain = "Domain"; String user = "User"; String password = "password"; // Act byte[] viaHash = NtlmUtil.nTOWFv2(domain, user, NtlmUtil.getNTHash(password));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 12K bytes - Click Count (1) -
src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java
byte[] hash = NtlmPasswordAuthentication.nTOWFv1("password"); assertNotNull(hash); assertEquals(16, hash.length); } // Test nTOWFv2 @Test void testNTOWFv2() { byte[] hash = NtlmPasswordAuthentication.nTOWFv2("DOMAIN", "user", "password"); assertNotNull(hash); assertEquals(16, hash.length); } // Test unescape method @ParameterizedTest
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java
} } /** * Generates the NTOWFv2 hash for the given domain, username, and password. * * @param domain the authentication domain * @param username the username * @param password the password * @return the NTOWFv2 hash bytes */ public static byte[] nTOWFv2(final String domain, final String username, final String password) { try {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 26.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/ntlmssp/Type3Message.java
setLMResponse(nt); setNTResponse(nt); break; case 3: case 4: case 5: final byte[] responseKeyNT = NtlmPasswordAuthentication.nTOWFv2(domain, user, password); final byte[] clientChallenge = new byte[8]; RANDOM.nextBytes(clientChallenge); setLMResponse(getLMv2Response(type2, domain, user, password, clientChallenge));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 24.1K bytes - Click Count (0) -
src/main/java/jcifs/ntlmssp/Type3Message.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 32.7K bytes - Click Count (0)