Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for ENCRYPTION (0.04 sec)

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

        /**
         * AES-128-CCM cipher identifier for SMB3 encryption
         */
        public static final int CIPHER_AES_128_CCM = EncryptionNegotiateContext.CIPHER_AES128_CCM;
        /**
         * AES-128-GCM cipher identifier for SMB3.1.1 encryption
         */
        public static final int CIPHER_AES_128_GCM = EncryptionNegotiateContext.CIPHER_AES128_GCM;
        /**
         * AES-256-CCM cipher identifier for SMB3 encryption (future support)
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/crypto/CachedCipher.java

     * <li>Configurable encryption algorithms (default: Blowfish)</li>
     * <li>Proper charset handling for key generation (UTF-8 by default)</li>
     * <li>Base64 encoding for text operations</li>
     * </ul>
     * <p>
     * <strong>Security Considerations:</strong>
     * </p>
     * <ul>
     * <li>Default Blowfish algorithm is suitable for general-purpose encryption</li>
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

            // Then
            assertNotNull(encKey, "Encryption key should not be null");
            assertEquals(16, encKey.length, "Encryption key should be 16 bytes");
            assertFalse(Arrays.equals(sessionKey, encKey), "Encryption key should be different from session key");
        }
    
        @Test
        @DisplayName("Should derive different encryption keys for different dialects")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

        @CsvSource({ "true, true, SMB311, 2", // DFS + Encryption
                "false, true, SMB311, 1", // Encryption only
                "true, false, SMB311, 1", // DFS only
                "false, false, SMB311, 0", // Neither
                "true, true, SMB210, 1", // DFS only (no encryption for SMB2)
                "false, true, SMB210, 0" // Neither (no encryption for SMB2)
        })
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            new SecureRandom().nextBytes(testDecryptionKey);
    
            // Create encryption context with required parameters
            encryptionContext = new Smb2EncryptionContext(1, DialectVersion.SMB311, testEncryptionKey, testDecryptionKey);
        }
    
        @Test
        @DisplayName("Should create encryption context with valid parameters")
        void testConstructor() {
            // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

                EncryptionNegotiateContext encryption = new EncryptionNegotiateContext();
    
                assertNotEquals(preauth.getContextType(), encryption.getContextType());
                assertEquals(0x1, preauth.getContextType());
                assertEquals(0x2, encryption.getContextType());
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/SecureCredentialStorage.java

    import javax.security.auth.Destroyable;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * 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
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

        private List<KerberosAuthData> userAuthorizations;
    
        /**
         * Constructs KerberosEncData from encrypted token bytes.
         *
         * @param token the encrypted Kerberos token
         * @param keys map of encryption keys indexed by key type
         * @throws PACDecodingException if decoding fails
         */
        public KerberosEncData(byte[] token, Map<Integer, KerberosKey> keys) throws PACDecodingException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/util/DES.java

    // DesCipher - the DES encryption method
    //
    // The meat of this code is by Dave Zimmerman <******@****.***>, and is:
    //
    // Copyright (c) 1996 Widget Workshop, Inc. All Rights Reserved.
    //
    // Permission to use, copy, modify, and distribute this software
    // and its documentation for NON-COMMERCIAL or COMMERCIAL purposes and
    // without fee is hereby granted, provided that this copyright notice is kept
    // intact.
    //
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/CriticalPerformanceTest.java

        }
    
        /**
         * Test encryption context performance without synchronization bottlenecks
         */
        @Test
        public void testEncryptionContextPerformance() throws Exception {
            // Create mock encryption context for testing (simplified)
            // Note: This tests the atomic operations without actual encryption
    
            int threadCount = 8;
            int operationsPerThread = 500;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
Back to top