- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testSecureRandomGeneration (0.34 seconds)
-
src/test/java/jcifs/util/CryptoTest.java
byte[] hash2 = md5_2.digest(data); // Then assertArrayEquals(hash1, hash2); } @Test @DisplayName("Should generate secure random bytes") void testSecureRandomGeneration() throws java.security.NoSuchAlgorithmException { // Given int length = 16; // When byte[] random1 = new byte[length]; byte[] random2 = new byte[length];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.4K bytes - Click Count (0)