- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 83 for cipherA (0.07 seconds)
-
src/main/java/org/codelibs/core/exception/IllegalBlockSizeRuntimeException.java
*/ package org.codelibs.core.exception; import javax.crypto.IllegalBlockSizeException; /** * Signals that this exception has been thrown when a block cipher is supplied with input data whose length is not a multiple of the cipher's block size, or that has been padded to the wrong length. * @author shinsuke */ public class IllegalBlockSizeRuntimeException extends ClRuntimeException {Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat Jul 05 00:11:05 GMT 2025 - 1.4K bytes - Click Count (0) -
docs/features/https.md
with certificates and the privacy of data exchanged with strong ciphers. When negotiating a connection to an HTTPS server, OkHttp needs to know which [TLS versions](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-tls-version/) and [cipher suites](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-cipher-suite/) to offer. A client that wants to maximize connectivity would include obsolete TLS versions and weak-by-design cipher suites. A strict client that wants to maximize security would...
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Dec 24 00:16:30 GMT 2022 - 10.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt
private val handshakeCertificates = platform.localhostHandshakeCertificates() /** Ciphers in order we observed directly on the socket. */ private lateinit var handshakeEnabledCipherSuites: List<String> /** Ciphers in order we observed on sslSocketFactory defaults. */ private lateinit var defaultEnabledCipherSuites: List<String> /** Ciphers in order we observed on sslSocketFactory supported. */
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Sep 16 07:21:43 GMT 2025 - 11.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
@Test @DisplayName("Should return selected cipher") void testGetSelectedCipher() throws Exception { // Given setPrivateField(response, "selectedCipher", EncryptionNegotiateContext.CIPHER_AES128_GCM); // When int cipher = response.getSelectedCipher(); // Then assertEquals(EncryptionNegotiateContext.CIPHER_AES128_GCM, cipher); } @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 32.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
} @Test @DisplayName("Should handle different cipher IDs") void testDifferentCipherIds() { // Test cipher ID 1 (AES-CCM) Smb2EncryptionContext context1 = new Smb2EncryptionContext(1, DialectVersion.SMB311, testEncryptionKey, testDecryptionKey); assertEquals(1, context1.getCipherId(), "Should handle cipher ID 1"); // Test cipher ID 2 (AES-GCM)Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 44.1K bytes - Click Count (0) -
cmd/sftp-server.go
ssh.KeyAlgoSKED25519, ssh.KeyAlgoSKECDSA256, ssh.KeyAlgoECDSA256, ssh.KeyAlgoECDSA384, ssh.KeyAlgoECDSA521, ssh.KeyAlgoRSASHA256, ssh.KeyAlgoRSASHA512, ssh.KeyAlgoRSA, ssh.KeyAlgoDSA, } // supportedCiphers lists ciphers we support but might not recommend. // https://cs.opensource.google/go/x/crypto/+/refs/tags/v0.22.0:ssh/common.go;l=28 var supportedCiphers = []string{ "aes128-ctr", "aes192-ctr", "aes256-ctr",Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 16.5K bytes - Click Count (0) -
docs/security/tls_configuration_history.md
--- <a name="tlsv13_only"></a> #### ¹ TLSv1.3 Only Cipher suites that are only available with TLSv1.3. <a name="http2_naughty"></a> #### ² HTTP/2 Cipher Suite Denylist Cipher suites that are [discouraged for use][http2_denylist] with HTTP/2. OkHttp includes them because better suites are not commonly available. For example, none of the better cipher suites listed above shipped with Android 4.4 or Java 7.
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Feb 06 16:35:36 GMT 2022 - 9K bytes - Click Count (0) -
src/main/java/jcifs/util/Crypto.java
return new HMACT64(key); } /** * 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;
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.7K bytes - Click Count (0) -
src/main/java/jcifs/pac/PacMac.java
byte[] keybytes = key.getEncoded(); Cipher cipher = Cipher.getInstance("AES/CBC/NoPadding"); cipher.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(keybytes, "AES"), new IvParameterSpec(ZERO_IV, 0, ZERO_IV.length)); if (constant.length != cipher.getBlockSize()) { constant = expandNFold(constant, cipher.getBlockSize()); } byte[] enc = constant;
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 9K bytes - Click Count (0) -
src/main/java/jcifs/pac/kerberos/KerberosEncData.java
SecretKeySpec dataKey = new SecretKeySpec(dataHmac, KerberosConstants.RC4_ALGORITHM); cipher = Cipher.getInstance(KerberosConstants.RC4_ALGORITHM); cipher.init(Cipher.DECRYPT_MODE, dataKey); int plainDataLength = data.length - KerberosConstants.CHECKSUM_SIZE; byte[] plainData = cipher.doFinal(data, KerberosConstants.CHECKSUM_SIZE, plainDataLength);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 12.5K bytes - Click Count (0)