Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 108 for Decrypted (0.05 sec)

  1. src/test/java/jcifs/util/SecureCredentialStorageTest.java

            char[] plaintext = new char[0];
    
            byte[] encrypted = storage.encryptCredentials(plaintext);
            assertNotNull(encrypted, "Encrypted empty data should not be null");
    
            char[] decrypted = storage.decryptCredentials(encrypted);
            assertNotNull(decrypted, "Decrypted empty data should not be null");
            assertEquals(0, decrypted.length, "Decrypted empty array should have zero length");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/crypto/CachedCipher.java

         * Decrypts the given data.
         *
         * @param data
         *            the data to decrypt
         * @return the decrypted data
         */
        public byte[] decrypto(final byte[] data) {
            final Cipher cipher = pollDecryptoCipher();
            byte[] decrypted;
            try {
                decrypted = cipher.doFinal(data);
            } catch (final IllegalBlockSizeException e) {
                throw new IllegalBlockSizeRuntimeException(e);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. cmd/encryption-v1.go

    // DecryptBlocksReader - decrypts multipart parts, while implementing
    // a io.Reader compatible interface.
    type DecryptBlocksReader struct {
    	// Source of the encrypted content that will be decrypted
    	reader io.Reader
    	// Current decrypter for the current encrypted data block
    	decrypter io.Reader
    	// Start sequence number
    	startSeqNum uint32
    	// Current part index
    	partIndex int
    	// Parts information
    	parts []ObjectPartInfo
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/CryptoTest.java

            byte[] encrypted = cipher.doFinal(plaintext);
    
            cipher.init(Cipher.DECRYPT_MODE, keySpec, ivSpec);
            byte[] decrypted = cipher.doFinal(encrypted);
    
            // Then
            assertNotNull(encrypted);
            assertNotNull(decrypted);
            assertArrayEquals(plaintext, decrypted);
            assertNotEquals(new String(plaintext), new String(encrypted));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            assertTrue(encrypted.length >= 52, "Encrypted message should include transform header");
    
            // When - Decrypt
            byte[] decrypted = context.decryptMessage(encrypted);
    
            // Then - Verify decryption
            assertArrayEquals(plaintext, decrypted, "Decrypted message should match original plaintext");
        }
    
        @Test
        @DisplayName("Should handle concurrent encryption operations safely")
    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. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java

            assertNotNull(cryptographer);
    
            String plainText = "Hello, World!";
            String encrypted = cryptographer.encrypt(plainText);
            assertNotNull(encrypted);
            assertFalse(plainText.equals(encrypted));
    
            String decrypted = cryptographer.decrypt(encrypted);
            assertEquals(plainText, decrypted);
        }
    
        public void test_invertibleCryptography_withEmptyString() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/pac/kerberos/KerberosTicket.java

                    }
    
                    try {
                        byte[] decrypted = KerberosEncData.decrypt(crypt, serverKey, serverKey.getKeyType());
                        this.encData = new KerberosEncData(decrypted, keysByAlgo);
                    } catch (GeneralSecurityException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

            byte[] decrypted = KerberosEncData.decrypt(data, key, KerberosConstants.DES_ENC_TYPE);
            assertNotNull(decrypted);
            // With dummy data, we can't verify the content, just that it decrypts without error
            // and returns a result of the expected size.
            assertEquals(data.length - 24, decrypted.length);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  9. docs/security/README.md

    - Delete one/some master keys. From a security standpoint, this is equal to erasing all SSE-S3 encrypted objects protected by these master keys. All these objects are lost forever as they cannot be decrypted. Especially deleting all master keys at the KMS is equivalent to secure erasing all SSE-S3 encrypted objects.
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 26 09:25:50 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCookieResourceProviderTest.java

            for (String testStr : testStrings) {
                String encrypted = cipher.encrypt(testStr);
                String decrypted = cipher.decrypt(encrypted);
                assertEquals("Failed for: " + testStr, testStr, decrypted);
            }
        }
    
        // Test provider as CookieResourceProvider interface
        public void test_asInterface() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top