Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for updateAAD (0.41 sec)

  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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
Back to top