- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for encrypted (0.06 sec)
-
src/test/java/org/codelibs/core/crypto/CachedCipherTest.java
final String encrypted1 = cipher1.encryptText(original); final String encrypted2 = cipher2.encryptText(original); assertThat(encrypted1, is(not(encrypted2))); assertThat(cipher1.decryptText(encrypted1), is(original)); assertThat(cipher2.decryptText(encrypted2), is(original)); } @Test public void testEmptyString() {
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 5.3K bytes - Viewed (0) -
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 setRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.1K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosTicket.java
} try { byte[] decrypted = KerberosEncData.decrypt(crypt, serverKey, serverKey.getKeyType()); this.encData = new KerberosEncData(decrypted, keysByAlgo); } catch (GeneralSecurityException e) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java
ByteBuffer buffer = ByteBuffer.allocate(34); buffer.order(ByteOrder.LITTLE_ENDIAN); buffer.putShort((short) 0); // dialectIndex buffer.put((byte) 0x0F); // securityMode (user, encrypted, sigs enabled, sigs required) buffer.putShort((short) 50); // maxMpxCount buffer.putShort((short) 10); // maxNumberVcs buffer.putInt(8192); // maxBufferSize buffer.putInt(65536); // maxRawSize
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java
byte[] decrypted = KerberosEncData.decrypt(data, key, KerberosConstants.DES_ENC_TYPE); assertNotNull(decrypted); // With dummy data, we can't verify the content, just that it decrypts without error // and returns a result of the expected size. assertEquals(data.length - 24, decrypted.length); } /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.7K bytes - Viewed (0) -
README.md
- Configurable: Min/max versions can be set via configuration properties ### SMB3 Encryption Support - **SMB2 Transform Header**: Encrypted message wrapping - **AES-CCM/GCM Support**: Both AES-128-CCM (SMB 3.0/3.0.2) and AES-128-GCM (SMB 3.1.1) cipher suites - **Encryption Context**: Per-session encryption state management
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 09:24:52 UTC 2025 - 6.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/ServerData.java
/** * Security mode flags. */ public int securityMode; /** * Security settings for the session. */ public int security; /** * Whether the server requires encrypted passwords. */ public boolean encryptedPasswords; /** * Whether message signing is enabled. */ public boolean signaturesEnabled; /** * Whether message signing is required.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/WebAuthenticationService.java
} /** * Stores a web authentication configuration. * Parameters are encrypted before storage. * * @param webAuthentication The web authentication configuration to store */ public void store(final WebAuthentication webAuthentication) { webAuthentication.setParameters(ParameterUtil.encrypt(webAuthentication.getParameters())); webAuthenticationBhv.insertOrUpdate(webAuthentication, op -> {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ParameterUtil.java
} } } } return paramMap; } /** * Encrypts sensitive parameter values. * * @param value the parameter string * @return the encrypted parameter string */ public static String encrypt(final String value) { final StringBuilder buf = new StringBuilder();Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.5K bytes - Viewed (0)