Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testConstantTimeWithDifferentLengths (0.11 sec)

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

                middleAuth.close();
                endAuth.close();
            }
        }
    
        /**
         * Test constant-time comparison with various password lengths.
         */
        @Test
        public void testConstantTimeWithDifferentLengths() throws Exception {
            char[] password1 = "short".toCharArray();
            char[] password2 = "verylongpasswordthatisdifferent".toCharArray();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
Back to top