Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for plaintext (0.05 sec)

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

            // Verify transform header is present (first 52 bytes)
            assertTrue(encrypted.length >= 52, "Encrypted message should include transform header");
    
            // When - Decrypt
            byte[] decrypted = context.decryptMessage(encrypted);
    
            // Then - Verify decryption
    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

            // Test with very long password
            char[] plaintext = new char[10000];
            Arrays.fill(plaintext, 'X');
    
            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");
    
    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. 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)
  4. src/test/java/jcifs/util/CryptoTest.java

            assertNotNull(decrypted);
            assertArrayEquals(plaintext, decrypted);
            assertNotEquals(new String(plaintext), new String(encrypted));
        }
    
        @Test
        @DisplayName("Should perform DES encryption/decryption")
        void testDES() throws Exception {
            // Given
            byte[] key = "testkey1".getBytes(); // 8 bytes for DES
            byte[] plaintext = "12345678".getBytes(); // 8 bytes (DES block size)
    
    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. okhttp-testing-support/src/main/kotlin/okhttp3/JsseDebugLogging.kt

      ) {
        enum class Type {
          Handshake,
          Plaintext,
          Encrypted,
          Setup,
          Unknown,
        }
    
        val type: Type
          get() =
            when {
              message == "adding as trusted certificates" -> Type.Setup
              message == "Raw read" || message == "Raw write" -> Type.Encrypted
              message == "Plaintext before ENCRYPTION" || message == "Plaintext after DECRYPTION" -> Type.Plaintext
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCookieResourceProviderTest.java

            InvertibleCryptographer cookieCipher = new InvertibleCryptographer("AES", "1234567890123456", null) {
                @Override
                public String encrypt(String plainText) {
                    return "encrypted:" + plainText;
                }
    
                @Override
                public String decrypt(String cryptedText) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/SecureCredentialStorage.java

        }
    
        public byte[] encryptCredentials(char[] plaintext) throws GeneralSecurityException {
            checkNotDestroyed();
    
            if (plaintext == null) {
                return null;
            }
    
            // Convert char[] to byte[] for encryption
            byte[] plaintextBytes = charsToBytes(plaintext);
    
            try {
                // Generate random IV
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. docs/fa/docs/environment-variables.md

    مثلاً، متغیر محیطی `PATH` می‌تونه اینجوری باشه:
    
    //// tab | لینوکس، مک‌اواس
    
    ```plaintext
    /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
    ```
    
    یعنی سیستم باید دنبال برنامه‌ها توی این پوشه‌ها بگرده:
    
    * `/usr/local/bin`
    * `/usr/bin`
    * `/bin`
    * `/usr/sbin`
    * `/sbin`
    
    ////
    
    //// tab | ویندوز
    
    ```plaintext
    C:\Program Files\Python312\Scripts;C:\Program Files\Python312;C:\Windows\System32
    ```
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Jul 25 09:27:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  9. docs/ru/docs/virtual-environments.md

    ```plaintext
    /home/user/code/awesome-project/.venv/bin/python
    ```
    
    и будет использовать именно его.
    
    ////
    
    //// tab | Windows
    
    ```plaintext
    C:\Users\user\code\awesome-project\.venv\Scripts;C:\Windows\System32
    ```
    
    Это означает, что система в первую очередь начнет искать программы в:
    
    ```plaintext
    C:\Users\user\code\awesome-project\.venv\Scripts
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Dec 10 11:34:19 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  10. docs/en/docs/environment-variables.md

    //// tab | Linux, macOS
    
    ```plaintext
    /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
    ```
    
    This means that the system should look for programs in the directories:
    
    * `/usr/local/bin`
    * `/usr/bin`
    * `/bin`
    * `/usr/sbin`
    * `/sbin`
    
    ////
    
    //// tab | Windows
    
    ```plaintext
    C:\Program Files\Python312\Scripts;C:\Program Files\Python312;C:\Windows\System32
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.1K bytes
    - Viewed (0)
Back to top