- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for encrypted (0.17 sec)
-
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) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
final int tagLength = getAuthTagLength(); final byte[] ciphertext = new byte[encrypted.length - tagLength]; final byte[] authTag = new byte[tagLength]; // Use constant-time copy operations constantTimeCopy(encrypted, 0, ciphertext, 0, ciphertext.length); constantTimeCopy(encrypted, ciphertext.length, authTag, 0, tagLength); return new EncryptionResult(ciphertext, authTag);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
*/ public Smb2EncryptionContext getEncryptionContext() { return this.encryptionContext; } /** * Encrypt a message using the session's encryption context * * @param message the message to encrypt * @return encrypted message with transform header * @throws CIFSException if encryption fails or is not enabled */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 68.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
import jcifs.audit.SecurityAuditLogger.Severity; import jcifs.spnego.NegTokenInit; import jcifs.util.Crypto; import jcifs.util.SecureKeyManager; import jcifs.util.Strings; /** * This class stores and encrypts NTLM user credentials. * * Contrary to {@link NtlmPasswordAuthentication} this does not cause guest authentication * when the "guest" username is supplied. Use {@link AuthenticationType} instead. * * @author mbechler
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 36.6K bytes - Viewed (0)