Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for charsToBytes (0.05 sec)

  1. src/main/java/jcifs/util/SecureCredentialStorage.java

            checkNotDestroyed();
    
            if (plaintext == null) {
                return null;
            }
    
            // Convert char[] to byte[] for encryption
            byte[] plaintextBytes = charsToBytes(plaintext);
    
            try {
                // Generate random IV
                byte[] iv = new byte[GCM_IV_SIZE];
                secureRandom.nextBytes(iv);
    
                // Setup cipher
    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