Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getBlockSize (0.04 sec)

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

         */
        private byte[] performConstantTimeEncryption(Cipher cipher, byte[] message) throws Exception {
            // Pad to fixed block size to prevent timing leaks
            int blockSize = cipher.getBlockSize();
            if (blockSize == 0)
                blockSize = 16; // GCM mode
    
            int paddedLength = ((message.length + blockSize - 1) / blockSize) * blockSize;
    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