Search Options

Display Count
Sort
Preferred Language
Advanced Search

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

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

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

            }
        }
    
        /**
         * Test that password comparison is constant-time by comparing execution times
         * for passwords that differ at different positions.
         */
        @Test
        public void testConstantTimePasswordComparison() throws Exception {
            char[] basePassword = "supersecretpassword123456789".toCharArray();
            char[] diffAtStart = "Xupersecretpassword123456789".toCharArray();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.2K bytes
    - Click Count (0)
Back to Top