- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 37 for encryption (0.06 sec)
-
src/main/java/org/codelibs/core/crypto/CachedCipher.java
protected String transformation = BLOWFISH; /** * The key to use for encryption/decryption. */ protected String key; /** * The character set name to use for encoding/decoding strings. */ protected String charsetName = CoreLibConstants.UTF_8; /** * The queue of ciphers for encryption. */ protected Queue<Cipher> encryptoQueue = new ConcurrentLinkedQueue<>();Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 15.9K bytes - Viewed (0) -
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) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
// Log but don't fail - concurrent encryption/decryption with same context is complex System.out.println("Sample decryption failed (acceptable for concurrent test): " + e.getMessage()); } } // Cleanup context.close(); } @Test @DisplayName("Should handle AES-CCM encryption correctly") void testAESCCMEncryption() throws Exception {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
assertFalse(session.isConnected()); assertTrue(session.isFailed()); } @Test @DisplayName("encryption: flags, encryption, and decryption delegation") void testEncryptionDelegation() throws Exception { SmbSessionImpl session = newSession(); // No encryption context -> throws CIFSException notEnabled = assertThrows(CIFSException.class, () -> session.encryptMessage(new byte[] { 1 }));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosEncData.java
/** * Decrypts Kerberos encrypted data using the specified key. * * @param data the encrypted data to decrypt * @param key the decryption key * @param type the encryption type * @return the decrypted data * @throws GeneralSecurityException if decryption fails */ public static byte[] decrypt(byte[] data, Key key, int type) throws GeneralSecurityException { Cipher cipher = null;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
/** * @return the selectedDialect */ @Override public DialectVersion getSelectedDialect() { return this.selectedDialect; } /** * Gets the encryption cipher selected for SMB3 encryption. * * @return the selectedCipher */ public int getSelectedCipher() { return this.selectedCipher; } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0)