Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 69 for cipherA (0.24 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt

       * order for a socket to be compatible the enabled cipher suites and protocols must intersect.
       *
       * For cipher suites, at least one of the [required cipher suites][cipherSuites] must match the
       * socket's enabled cipher suites. If there are no required cipher suites the socket must have at
       * least one cipher suite enabled.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCookieResourceProviderTest.java

                        });
    
                assertEquals(path, provider.provideDefaultPath());
            }
        }
    
        // Test cipher with special characters
        public void test_cipherWithSpecialCharacters() {
            // Create a mock cipher for testing purposes
            InvertibleCryptographer cipher = new InvertibleCryptographer("AES", "1234567890123456", null) {
                @Override
                public String encrypt(String plainText) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/SecureCredentialStorage.java

                secureRandom.nextBytes(iv);
    
                // Setup cipher
                Cipher cipher = Cipher.getInstance(ENCRYPTION_ALGORITHM);
                GCMParameterSpec gcmSpec = new GCMParameterSpec(GCM_TAG_SIZE, iv);
                cipher.init(Cipher.ENCRYPT_MODE, masterKey, gcmSpec);
    
                // Encrypt
                byte[] ciphertext = cipher.doFinal(plaintextBytes);
    
                // Combine IV and ciphertext
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java

            if (nonce.length == 12) {
                // For CCM cipher, pad nonce to 16 bytes with zeros
                System.arraycopy(nonce, 0, this.nonce, 0, 12);
                // Last 4 bytes remain zero-initialized
            } else if (nonce.length == 16) {
                // For GCM cipher, use full 16-byte nonce
                System.arraycopy(nonce, 0, this.nonce, 0, 16);
            } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  5. 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)
  6. docs/changelogs/changelog_2x.md

     *  New: Buffer WebSocket frames for better performance.
     *  New: Drop support for `TLS_DHE_DSS_WITH_AES_128_CBC_SHA`, our only remaining
        DSS cipher suite. This is consistent with Firefox and Chrome which have also
        dropped these cipher suite.
    
    ## Version 2.5.0
    
    _2015-08-25_
    
     *  **Timeouts now default to 10 seconds.** Previously we defaulted to never
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/ParameterUtil.java

            final PrimaryCipher cipher = ComponentUtil.getPrimaryCipher();
            ParameterUtil.parse(value).entrySet().stream().map(e -> {
                final String k = e.getKey();
                final String v = e.getValue();
                if (properyPattern.matcher(k).matches() && !v.startsWith(CIPHER_PREFIX)) {
                    return new Pair<>(k, CIPHER_PREFIX + cipher.encrypt(v));
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java

                assertNotNull(cryptographer);
                assertSame(oneWayCryptographer, cryptographer);
            }
        }
    
        // Test with different cipher types
        public void test_withBlowfishCipher() {
            // Test with Blowfish cipher
            InvertibleCryptographer blowfish = InvertibleCryptographer.createBlowfishCipher("secretkey");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/ParameterUtilTest.java

            value = "password=b";
            expect = "password={cipher}5691346cc398a4450114883140fa84a7";
            assertEquals(expect, ParameterUtil.encrypt(value));
    
            value = "aaa.password=b\naaa=c\nccc.key=d";
            expect = "aaa.password={cipher}5691346cc398a4450114883140fa84a7\n" + "aaa=c\n" + "ccc.key={cipher}bf66204f1a59036869a684d61d337bd4";
            assertEquals(expect, ParameterUtil.encrypt(value));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  10. docs/smb3-features/02-persistent-handles-design.md

        
        public void saveEncrypted(HandleInfo handle, Path file) throws Exception {
            Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding");
            cipher.init(Cipher.ENCRYPT_MODE, encryptionKey);
            
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            try (CipherOutputStream cos = new CipherOutputStream(baos, cipher);
                 ObjectOutputStream oos = new ObjectOutputStream(cos)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
Back to top