Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testEncryptDecryptEmpty (1.15 sec)

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

            // Clean up sensitive data
            Arrays.fill(plaintext, '\0');
            Arrays.fill(decrypted, '\0');
        }
    
        @Test
        public void testEncryptDecryptEmpty() throws Exception {
            char[] plaintext = new char[0];
    
            byte[] encrypted = storage.encryptCredentials(plaintext);
            assertNotNull(encrypted, "Encrypted empty data should not be null");
    
    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