Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for _encrypted (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            long sessionId = 0x123456789ABCDEF0L;
    
            // When - Encrypt
            byte[] encrypted = context.encryptMessage(plaintext, sessionId);
    
            // Then - Verify encrypted message structure
            assertNotNull(encrypted, "Encrypted message should not be null");
            assertTrue(encrypted.length > plaintext.length, "Encrypted message should be larger than plaintext");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/SecureCredentialStorageTest.java

            byte[] encrypted = storage.encryptCredentials(plaintext);
            assertNotNull(encrypted, "Encrypted long password should not be null");
            assertTrue(encrypted.length > plaintext.length, "Encrypted data should be larger due to IV and auth tag");
    
            char[] decrypted = storage.decryptCredentials(encrypted);
            assertArrayEquals(plaintext, decrypted, "Decrypted long password should match original");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. cmd/encryption-v1.go

    		return data, nil
    	}
    	if _, encrypted := crypto.IsEncrypted(o.UserDefined); encrypted {
    		decrypted, err := o.metadataDecrypter(h)("object-checksum", data)
    		if err != nil {
    			return nil, err
    		}
    		data = decrypted
    	}
    	return data, nil
    }
    
    // metadataEncryptFn provides an encryption function for metadata.
    // Will return nil, nil if unencrypted.
    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. cmd/encryption-v1_test.go

    	for i, test := range decryptObjectMetaTests {
    		if encrypted, err := DecryptObjectInfo(&test.info, test.request); err != test.expErr {
    			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 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  5. docs/en/docs/deployment/https.md

        * The contents are **encrypted**, even though they are being sent with the **HTTP protocol**.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 19:34:08 UTC 2025
    - 14.3K 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/internal/smb2/Smb2TransformHeader.java

        }
    
        /**
         * Gets the signature or authentication tag for the encrypted message
         *
         * @return the signature/authentication tag
         */
        public byte[] getSignature() {
            return this.signature;
        }
    
        /**
         * Sets the signature or authentication tag for the encrypted message
         *
         * @param signature
         *            the signature/authentication tag to set
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. docs/debugging/README.md

    Optionally `--encrypt` can be specified. This will output an encrypted file and a decryption key:
    
    ```
    $ mc support inspect --encrypt play/test123/test*/*/part.*
    mc: Encrypted file data successfully downloaded as inspect.ad2b43d8.enc
    mc: Decryption key: ad2b43d847fdb14e54c5836200177f7158b3f745433525f5d23c0e0208e50c9948540b54
    
    mc: The decryption key will ONLY be shown here. It cannot be recovered.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top