Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for constantTimeCopy (0.08 seconds)

  1. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

            final byte[] ciphertext = new byte[encrypted.length - tagLength];
            final byte[] authTag = new byte[tagLength];
    
            // Use constant-time copy operations
            constantTimeCopy(encrypted, 0, ciphertext, 0, ciphertext.length);
            constantTimeCopy(encrypted, ciphertext.length, authTag, 0, tagLength);
    
            return new EncryptionResult(ciphertext, authTag);
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 35.5K bytes
    - Click Count (0)
Back to Top