Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for getNTLM2Response (0.14 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/smb/NtlmUtilTest.java

            byte[] client = hex("DEADBEEFCAFEBABE");
    
            // Act
            byte[] a = NtlmUtil.getNTLM2Response(pwdHash, server, client);
            server[7] ^= 0x01; // mutate
            byte[] b = NtlmUtil.getNTLM2Response(pwdHash, server, client);
    
            // Assert
            assertEquals(24, a.length);
            assertFalse(Arrays.equals(a, b), "Changing server challenge must alter the response");
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 12K bytes
    - Click Count (1)
Back to Top