Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for randomness (0.05 seconds)

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

            // Then all nonces should be unique
            assertEquals(numNonces, nonces.size(), "All nonces should be unique");
        }
    
        @Test
        @DisplayName("Should generate secure nonces with proper randomness")
        void testSecureNonceGenerationRandomness() {
            // Given
            Smb2EncryptionContext context = new Smb2EncryptionContext(1, DialectVersion.SMB311, testEncryptionKey, testDecryptionKey);
    
            // When
    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)
  2. cmd/erasure.go

    		},
    		Cache: make(map[string]dataUsageEntry, len(oldCache.Cache)),
    	}
    
    	// Put all buckets into channel.
    	bucketCh := make(chan BucketInfo, len(buckets))
    
    	// Shuffle buckets to ensure total randomness of buckets, being scanned.
    	// Otherwise same set of buckets get scanned across erasure sets always.
    	// at any given point in time. This allows different buckets to be scanned
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 16.1K bytes
    - Click Count (0)
  3. docs/security/README.md

    #### Randomness
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Feb 26 09:25:50 GMT 2025
    - 13.8K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

            }
    
            return nonce;
        }
    
        /**
         * Generate a secure random nonce for initial session setup.
         * This method can be used when enhanced randomness is required,
         * such as during initial key exchange or session establishment.
         *
         * @return randomized nonce appropriate for the dialect
         */
        public byte[] generateSecureNonce() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  5. TESTING.asciidoc

    [[TestingFrameworkCheatsheet]]
    = Testing
    
    [partintro]
    
    Elasticsearch uses jUnit for testing, it also uses randomness in the
    tests, that can be set using a seed, the following is a cheatsheet of
    options for running the tests for ES.
    
    == Creating packages
    
    To create a distribution without running the tests, simply run the
    following:
    
    -----------------------------
    ./gradlew assemble
    -----------------------------
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jun 07 13:55:20 GMT 2021
    - 32.5K bytes
    - Click Count (0)
Back to Top