Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testNonceEntropy (0.07 seconds)

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

            assertEquals(threadCount * noncesPerThread, nonceMap.size(), "All nonces should be unique");
        }
    
        @Test
        @DisplayName("Should have sufficient entropy in generated nonces")
        void testNonceEntropy() {
            // Given
            int sampleSize = 1000;
            byte[][] nonces = new byte[sampleSize][];
    
            // When - Generate multiple nonces
            for (int i = 0; i < sampleSize; i++) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 44.1K bytes
    - Click Count (0)
Back to Top