Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testDifferentEncryptionsProduceDifferentCiphertexts (0.62 seconds)

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

            // Clean up
            Arrays.fill(plaintext, '\0');
            Arrays.fill(decrypted, '\0');
        }
    
        @Test
        public void testDifferentEncryptionsProduceDifferentCiphertexts() throws Exception {
            char[] plaintext = "SamePassword".toCharArray();
    
            // Encrypt twice
            byte[] encrypted1 = storage.encryptCredentials(plaintext.clone());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 12.7K bytes
    - Click Count (0)
Back to Top