- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for RC4 (0.01 sec)
-
src/main/java/jcifs/smb1/util/RC4.java
package jcifs.smb1.util; /** * Implementation of the RC4 (ARCFOUR) stream cipher algorithm. * This class provides RC4 encryption/decryption functionality used in SMB1 protocol operations. */ public class RC4 { byte[] s; int i, j; /** * Default constructor for RC4 cipher. * Call init() to initialize with a key before use. */ public RC4() { } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/util/Crypto.java
} /** * Get an RC4 cipher instance initialized with the specified key. * @param key the encryption key * @return RC4 cipher in encryption mode */ public static Cipher getArcfour(final byte[] key) { try { final Cipher c = Cipher.getInstance("RC4"); c.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(key, "RC4")); return c;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type3Message.java
final RC4 rc4 = new RC4(ntlm2SessionKey); rc4.update(masterKey, 0, 16, exchangedKey, 0); /* RC4 was not added to Java until 1.5u7 so let's use our own for a little while longer ... try { Cipher rc4 = Cipher.getInstance("RC4");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 24.1K bytes - Viewed (0) -
src/test/java/jcifs/util/CryptoTest.java
@Test @DisplayName("Should perform RC4 encryption/decryption") void testRC4() throws Exception { // Given byte[] key = "testkey123456789".getBytes(); // 16 bytes byte[] plaintext = "This is a test message for RC4".getBytes(); // When Cipher encryptCipher = Crypto.getArcfour(key); encryptCipher.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(key, "RC4"));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosConstants.java
int AUTH_DATA_RELEVANT = 1; /** Authorization data type: PAC */ int AUTH_DATA_PAC = 128; /** DES encryption type identifier */ int DES_ENC_TYPE = 3; /** RC4 encryption type identifier */ int RC4_ENC_TYPE = 23; /** RC4 algorithm name */ String RC4_ALGORITHM = "ARCFOUR"; /** HMAC algorithm name */ String HMAC_ALGORITHM = "HmacMD5"; /** Size of confounder in bytes */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.9K bytes - Viewed (0) -
docs/features/https.md
release. For example, in OkHttp 2.2 we dropped support for SSL 3.0 in response to the [POODLE](https://googleonlinesecurity.blogspot.ca/2014/10/this-poodle-bites-exploiting-ssl-30.html) attack. And in OkHttp 2.3 we dropped support for [RC4](https://en.wikipedia.org/wiki/RC4#Security). As with your desktop web browser, staying up-to-date with OkHttp is the best way to stay secure. You can build your own connection spec with a custom set of TLS versions and cipher suites. For example, this configuration...
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Dec 24 00:16:30 UTC 2022 - 10.5K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacSignature.java
/** * Kerberos checksum type for HMAC-SHA1-96 with AES-256. */ public static final int HMAC_SHA1_96_AES256 = 0x00000010; /** * Kerberos encryption type for ARCFOUR-HMAC (RC4-HMAC). */ public static final int ETYPE_ARCFOUR_HMAC = 23; /** * Kerberos encryption type for AES-128 CTS mode with HMAC-SHA1-96. */ public static final int ETYPE_AES128_CTS_HMAC_SHA1_96 = 17;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java
@NullAndEmptySource @ValueSource(strings = { "AES encryption not supported", "Missing Bouncy Castle provider", "Invalid key length for AES-128", "RC4 cipher not available in this JVM", "DES encryption is deprecated and not supported", "HMAC-SHA256 algorithm not found", "RSA key generation failed: key size not supported" })
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java
assertThrows(PACDecodingException.class, () -> new KerberosEncData(encoded, Collections.emptyMap())); } /** * Test decrypt with RC4 encryption. * * @throws GeneralSecurityException if a security error occurs */ @Test void testDecryptRc4() throws GeneralSecurityException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.7K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type3Message.java
tc.getConfig().getRandom().nextBytes(this.masterKey); final byte[] encryptedKey = new byte[16]; final Cipher rc4 = Crypto.getArcfour(userSessionKey); rc4.update(this.masterKey, 0, 16, encryptedKey, 0); setEncryptedSessionKey(encryptedKey); } else { this.masterKey = userSessionKey; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 32.7K bytes - Viewed (0)