- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 687 for decryption (0.09 seconds)
-
src/main/java/org/codelibs/core/crypto/CachedCipher.java
import org.codelibs.core.exception.UnsupportedEncodingRuntimeException; import org.codelibs.core.misc.Base64Util; /** * A high-performance utility class for encrypting and decrypting data using cached {@link Cipher} instances. * <p> * This class provides efficient encryption/decryption by pooling and reusing cipher instances, * reducing the overhead of repeated cipher initialization. It supports both string-based keysCreated: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 15.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
import jcifs.CIFSException; import jcifs.DialectVersion; import jcifs.internal.smb2.nego.EncryptionNegotiateContext; import jcifs.util.SecureKeyManager; /** * SMB2/SMB3 Encryption Context * * Manages encryption and decryption operations for SMB2/SMB3 sessions. * Handles both AES-CCM (SMB 3.0/3.0.2) and AES-GCM (SMB 3.1.1) cipher suites. * * @author mbechler */
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 35.5K bytes - Click Count (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 {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 44.1K bytes - Click Count (0) -
cmd/encryption-v1_test.go
t.Errorf("Test %d: Decryption returned wrong error code: got %d , want %d", i, err, test.expErr) } else if _, enc := crypto.IsEncrypted(test.info.UserDefined); encrypted && enc != encrypted { t.Errorf("Test %d: Decryption thinks object is encrypted but it is not", i) } else if !encrypted && enc != encrypted { t.Errorf("Test %d: Decryption thinks object is not encrypted but it is", i) } } }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 19.9K bytes - Click Count (0) -
cmd/encryption-v1.go
// objects are slightly larger due to encryption overhead. // Further, it decrypts all single-part SSE-S3 encrypted objects // and formats ETags of SSE-C / SSE-KMS encrypted objects to // be AWS S3 compliant. // // DecryptETags uses a KMS bulk decryption API, if available, which // is more efficient than decrypting ETags sequentially.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 38K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java
/** * Gets the flags field which contains flags in SMB 3.1.1 or encryption algorithm ID in SMB 3.0/3.0.2 * * @return the flags (SMB 3.1.1) or encryption algorithm (SMB 3.0/3.0.2) */ public int getFlags() { return this.flags; } /** * Sets the flags field which contains flags in SMB 3.1.1 or encryption algorithm ID in SMB 3.0/3.0.2 * * @param flagsCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 9.1K bytes - Click Count (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
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 12.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java
/** * The key for user roles in the request attribute. */ protected static final String USER_ROLES = "userRoles"; /** * The cached cipher for encryption and decryption. */ protected CachedCipher cipher; /** * The separator for values in the role string. */ protected String valueSeparator = "\n"; /**Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 15.1K bytes - Click Count (0) -
cmd/object-multipart-handlers.go
// NewMultipartUploadHandler - New multipart upload. // Notice: The S3 client can send secret keys in headers for encryption related jobs, // the handler should ensure to remove these keys before sending them to the object layer. // Currently these keys are: // - X-Amz-Server-Side-Encryption-Customer-Key // - X-Amz-Copy-Source-Server-Side-Encryption-Customer-Key func (api objectAPIHandlers) NewMultipartUploadHandler(w http.ResponseWriter, r *http.Request) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 07 16:13:09 GMT 2025 - 39.5K bytes - Click Count (1) -
src/main/java/jcifs/smb/SmbSessionImpl.java
} return this.encryptionContext.encryptMessage(message, this.sessionId); } /** * Decrypt a message using the session's encryption context * * @param encryptedMessage the encrypted message with transform header * @return decrypted message * @throws CIFSException if decryption fails or encryption is not enabled */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 68.9K bytes - Click Count (0)