- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testSecureRandomGeneration (0.35 sec)
-
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];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0)