Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 80 for ciphers (0.2 seconds)

  1. src/main/java/org/codelibs/core/crypto/CachedCipher.java

         * @return a decryption cipher
         */
        protected Cipher pollDecryptoCipher() {
            Cipher cipher = decryptoQueue.poll();
            if (cipher == null) {
                try {
                    final SecretKeySpec sksSpec = new SecretKeySpec(key.getBytes(charsetName), algorithm);
                    cipher = Cipher.getInstance(algorithm);
                    cipher.init(Cipher.DECRYPT_MODE, sksSpec);
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  2. 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/5.x/okhttp/okhttp3/-tls-version/) and [cipher suites](https://square.github.io/okhttp/5.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 Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  3. 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);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 32.5K bytes
    - Click Count (0)
  4. src/main/java/jcifs/Configuration.java

         *
         * @return preferred encryption cipher list in order of preference for SMB3 encryption
         * @since 2.2
         */
        String getPreferredCiphers();
    
        /**
         * Property {@code jcifs.smb.client.aes256Enabled} (boolean, default true)
         *
         * @return whether AES-256 encryption ciphers are enabled for SMB3.x
         * @since 2.2
         */
        boolean isAES256Enabled();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  5. src/main/java/jcifs/config/BaseConfiguration.java

        /** Whether SMB3 encryption is enabled */
        protected boolean encryptionEnabled = false;
        /** Whether SMB3 compression is enabled */
        protected boolean compressionEnabled = false;
        /** Preferred encryption ciphers in order of preference */
        protected String preferredCiphers = "AES_128_GCM,AES_128_CCM,AES_256_GCM,AES_256_CCM";
        /** Whether AES-256 encryption is enabled */
        protected boolean aes256Enabled = true;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/core/crypto/CachedCipherTest.java

            cipher.setKey("mySecretKey");
    
            final String original = "";
            final String encrypted = cipher.encryptText(original);
            final String decrypted = cipher.decryptText(encrypted);
    
            assertThat(decrypted, is(original));
        }
    
        @Test
        public void testLongText() {
            final CachedCipher cipher = new CachedCipher();
            cipher.setKey("mySecretKey");
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  7. CHANGELOG/CHANGELOG-1.28.md

    - Added a warning that TLS 1.3 ciphers are not configurable. ([#115399](https://github.com/kubernetes/kubernetes/pull/115399), [@3u13r](https://github.com/3u13r)) [SIG API Machinery and Node]
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Fri Sep 05 03:47:18 GMT 2025
    - 456.9K bytes
    - Click Count (1)
  8. CHANGELOG/CHANGELOG-1.19.md

    ### Bug or Regression
    
    - Add support for TLS 1.3 ciphers: TLS_AES_128_GCM_SHA256, TLS_CHACHA20_POLY1305_SHA256 and TLS_AES_256_GCM_SHA384. ([#90843](https://github.com/kubernetes/kubernetes/pull/90843), [@pjbgf](https://github.com/pjbgf)) [SIG API Machinery, Auth and Cluster Lifecycle]
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Wed Jan 05 05:42:32 GMT 2022
    - 489.7K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/CipherSuiteTest.kt

        assertThat(forJavaName(java.lang.String(cs.javaName) as String))
          .isSameInstanceAs(cs)
      }
    
      @Test
      fun equals() {
        assertThat(forJavaName("cipher")).isEqualTo(forJavaName("cipher"))
        assertThat(forJavaName("cipherB")).isNotEqualTo(forJavaName("cipherA"))
        assertThat(CipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5)
          .isEqualTo(forJavaName("SSL_RSA_EXPORT_WITH_RC4_40_MD5"))
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 8.2K bytes
    - Click Count (0)
  10. 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: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 1.4K bytes
    - Click Count (0)
Back to Top