Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testGenerateMultipleNoncesNoCollision (0.73 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            assertEquals(counter1 + 1, counter2, "CCM counter should increment between nonces");
        }
    
        @Test
        @DisplayName("Should generate multiple unique nonces without collision")
        void testGenerateMultipleNoncesNoCollision() {
            // Given
            int count = 10000; // Test with larger number for collision detection
            Set<String> nonceSet = new HashSet<>();
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
Back to top