Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testGetNTLM2Response_basic (0.59 sec)

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

            // Assert
            assertArrayEquals(r2, r1);
            assertEquals(24, r1.length);
        }
    
        @Test
        @DisplayName("getNTLM2Response: returns 24 bytes and changes with inputs")
        void testGetNTLM2Response_basic() throws GeneralSecurityException {
            // Arrange
            byte[] pwdHash = NtlmUtil.getNTHash("password");
            byte[] server = hex("0102030405060708");
            byte[] client = hex("DEADBEEFCAFEBABE");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top