Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testReuseWithSameSalt (0.06 sec)

  1. src/test/java/jcifs/util/SecureCredentialStorageTest.java

                assertFalse(Arrays.equals(salt, salt2), "Different instances should have different salts");
            } finally {
                storage2.close();
            }
        }
    
        @Test
        public void testReuseWithSameSalt() throws Exception {
            char[] plaintext = "ReusablePassword".toCharArray();
            byte[] salt = storage.getSalt();
    
            // Encrypt with first storage
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top