Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Plaintext (0.06 sec)

  1. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  4. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

                    len += cipher.doFinal(output, len);
    
                    plaintext = new byte[ciphertext.length];
                    System.arraycopy(output, 0, plaintext, 0, ciphertext.length);
                }
    
                return plaintext;
            } catch (final Exception e) {
                throw new CIFSException("Failed to decrypt message", e);
            }
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/MarkdownExtractor.java

                final Node document = parser.parse(content);
    
                // Extract plain text
                final String plainText = textRenderer.render(document);
    
                final ExtractData extractData = new ExtractData(plainText);
    
                // Extract front matter metadata
                if (extractFrontMatter) {
                    extractFrontMatterMetadata(document, extractData);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 03:46:53 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/util/DES.java

         * @param clearText the output 8-byte plaintext block
         */
        public void decrypt(final byte[] cipherText, final byte[] clearText) {
    
            decrypt(cipherText, 0, clearText, 0);
        }
    
        /**
         * encrypts an array where the length must be a multiple of 8
         */
        /**
         * Encrypts an 8-byte block using DES
         * @param clearText the 8-byte plaintext block
         * @return the 8-byte ciphertext block
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt

            TlsVersion.TLS_1_2,
            reversed,
          )
    
        makeRequest(client)
    
        val expectedConnectionCipherSuites = expectedConnectionCipherSuites(client)
        // Will choose a poor cipher suite but not plaintext.
    //    assertThat(handshake.cipherSuite).isEqualTo("TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256")
        assertThat(handshakeEnabledCipherSuites).containsExactly(
          *expectedConnectionCipherSuites.toTypedArray(),
        )
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Sep 16 07:21:43 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/Configuration.java

         * @since 2.1
         */
        boolean isUseRawNTLM();
    
        /**
         *
         * Property {@code jcifs.smb.client.disablePlainTextPasswords} (boolean, default true)
         *
         * @return whether the usage of plaintext passwords is prohibited, defaults to false
         */
        boolean isDisablePlainTextPasswords();
    
        /**
         *
         *
         * Property {@code jcifs.resolveOrder} (string, default {@code LMHOSTS,DNS,WINS,BCAST})
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.32.md

    ### Other (Cleanup or Flake)
    
    - Added a short output format argument for `kubectl explain`. You could now use `-o` as an abbreviation for `--output` in commands such as `kubectl explain <resource> --output plaintext-openapiv2`. ([#127869](https://github.com/kubernetes/kubernetes/pull/127869), [@ak20102763](https://github.com/ak20102763))
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Tue Dec 16 18:27:41 UTC 2025
    - 448.1K bytes
    - Viewed (0)
Back to top