Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for updateAAD (0.04 seconds)

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

         */
        private EncryptionResult encryptWithGCM(byte[] message, byte[] nonce, byte[] associatedData) throws Exception {
            final Cipher cipher = createGCMCipher(true, nonce);
            cipher.updateAAD(associatedData);
    
            // Use constant-time encryption
            final byte[] encrypted = performConstantTimeEncryption(cipher, message);
    
            // Split ciphertext and authentication tag
    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