Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for GCM (0.01 sec)

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

            if (keyLength == 32) {
                // AES-256 support
                transformation = "AES/GCM/NoPadding";
            } else if (keyLength == 16) {
                // AES-128 (existing)
                transformation = "AES/GCM/NoPadding";
            } else {
                throw new IllegalArgumentException("Unsupported key length for GCM: " + keyLength);
            }
    
            byte[] key = null;
            byte[] keyCopy = null;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            // Nonces should have proper size
            assertEquals(16, nonce1.length, "GCM nonce should be 16 bytes");
            assertEquals(16, nonce2.length, "GCM nonce should be 16 bytes");
            assertEquals(16, nonce3.length, "GCM nonce should be 16 bytes");
    
            // For GCM, last 4 bytes should contain incrementing counter
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTransportImplTest.java

                // SMB 3.1.1 -> default AES-128-GCM when server did not choose
                Smb2NegotiateResponse smb311 = new Smb2NegotiateResponse(cfg);
                setField(smb311, "selectedDialect", DialectVersion.SMB311);
                setField(smb311, "selectedCipher", -1);
                setField(transport, "negotiated", smb311);
                Smb2EncryptionContext gcm = transport.createEncryptionContext(sessionKey, preauth);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/SecureCredentialStorage.java

    /**
     * Secure credential storage with encryption at rest.
     *
     * Provides secure storage of passwords and other sensitive credentials
     * using AES-GCM encryption with PBKDF2 key derivation.
     *
     * Features:
     * - Encrypts credentials at rest using AES-256-GCM
     * - Uses PBKDF2 for key derivation from master password
     * - Secure wiping of sensitive data
     * - Thread-safe operations
     * - Protection against timing attacks
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  5. cmd/sftp-server.go

    	"aes128-ctr", "aes192-ctr", "aes256-ctr",
    	"aes128-gcm@openssh.com", gcm256CipherID,
    	chacha20Poly1305ID,
    	"arcfour256", "arcfour128", "arcfour",
    	aes128cbcID,
    	tripledescbcID,
    }
    
    // preferredCiphers specifies the default preference for ciphers.
    // https://cs.opensource.google/go/x/crypto/+/refs/tags/v0.22.0:ssh/common.go;l=37
    var preferredCiphers = []string{
    	"aes128-gcm@openssh.com", gcm256CipherID,
    	chacha20Poly1305ID,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  6. docs/security/README.md

    - [PRF](#prf): HMAC-SHA-256
    - [AEAD](#aead): AES-256-GCM if the CPU supports AES-NI, ChaCha20-Poly1305 otherwise. More specifically AES-256-GCM is only selected for X86-64 CPUs with AES-NI extension.
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 26 09:25:50 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  7. docs/smb3-features/02-persistent-handles-design.md

    ```java
    public class SecureHandleStorage {
        private final SecretKey encryptionKey;
        
        public void saveEncrypted(HandleInfo handle, Path file) throws Exception {
            Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding");
            cipher.init(Cipher.ENCRYPT_MODE, encryptionKey);
            
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            try (CipherOutputStream cos = new CipherOutputStream(baos, cipher);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
Back to top