Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 283 for decryption (0.09 sec)

  1. src/main/java/org/codelibs/core/crypto/CachedCipher.java

         */
        protected String transformation = RSA;
    
        /**
         * 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: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

            // Then
            assertNotNull(decKey, "Decryption key should not be null");
            assertEquals(16, decKey.length, "Decryption key should be 16 bytes");
            assertFalse(Arrays.equals(sessionKey, decKey), "Decryption key should be different from session key");
        }
    
        @Test
        @DisplayName("Should derive decryption key for SMB 3.1.1 dialect")
        void testDeriveDecryptionKey_SMB311() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java

                        .thenThrow(new GeneralSecurityException("Decryption error"));
    
                PACDecodingException e = assertThrows(PACDecodingException.class, () -> new KerberosTicket(token, (byte) 0, keys));
                assertTrue(e.getMessage().startsWith("Decryption failed"));
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. 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
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  5. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  6. 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)
    		}
    	}
    }
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  7. 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.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  8. docs/security/README.md

    ## Acronyms
    
    - **AEAD**: Authenticated Encryption with Associated Data
    - **CSPRNG**: Cryptographically Secure Pseudo Random Number Generator
    - **EK**: External Key
    - **IV**: Initialization Vector
    - **KEK**: Key Encryption Key
    - **OEK**: Object Encryption Key
    - **PRF**: Pseudo Random Function
    - **SSE**: Server-Side Encryption
    - **SSE-C**: Server-Side Encryption with client-provided Keys
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 26 09:25:50 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  9. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java

            assertEquals(invertibleCryptographer, provider.providePrimaryInvertibleCryptographer());
            assertEquals(md5, provider.providePrimaryOneWayCryptographer());
        }
    
        // Test encryption and decryption functionality
        public void test_invertibleCryptography() {
            // Test that invertible cryptography works correctly
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top