- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for Plaintext (0.06 sec)
-
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) -
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 decryptionRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
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 IVRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt
// // Raw write // Raw read // Plaintext before ENCRYPTION // Plaintext after DECRYPTION val message = record.message val parameters = record.parameters if (parameters != null && !message.startsWith("Raw") && !message.startsWith("Plaintext")) { if (verbose) { println(record.message)Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (0) -
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 blockRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 22.7K bytes - Viewed (0) -
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) -
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)