Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 90 for cipher (0.19 sec)

  1. src/crypto/tls/cipher_suites.go

    	// certificate is ECDSA or EdDSA. If this is not set then the cipher suite
    	// is RSA based.
    	suiteECSign
    	// suiteTLS12 indicates that the cipher suite should only be advertised
    	// and accepted when using TLS 1.2.
    	suiteTLS12
    	// suiteSHA384 indicates that the cipher suite uses SHA384 as the
    	// handshake hash.
    	suiteSHA384
    )
    
    // A cipherSuite is a TLS 1.0–1.2 cipher suite, and defines the key exchange
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java

            };
            roleQueryHelperImpl.cipher = cipher;
    
            Set<String> roleSet;
            boolean encrypted;
            String value;
    
            encrypted = true;
            value = cipher.encryptoText("");
            roleSet = decodedRoleList(roleQueryHelperImpl, value, encrypted);
            assertEquals(0, roleSet.size());
    
            encrypted = true;
            value = cipher.encryptoText("role1");
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  3. src/crypto/internal/boring/aes.go

    }
    
    type extraModes interface {
    	// Copied out of crypto/aes/modes.go.
    	NewCBCEncrypter(iv []byte) cipher.BlockMode
    	NewCBCDecrypter(iv []byte) cipher.BlockMode
    	NewCTR(iv []byte) cipher.Stream
    	NewGCM(nonceSize, tagSize int) (cipher.AEAD, error)
    }
    
    var _ extraModes = (*aesCipher)(nil)
    
    func NewAESCipher(key []byte) (cipher.Block, error) {
    	c := &aesCipher{key: bytes.Clone(key)}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 22:52:27 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. src/crypto/cipher/gcm.go

    	}
    
    	if cipher, ok := cipher.(gcmAble); ok {
    		return cipher.NewGCM(nonceSize, tagSize)
    	}
    
    	if cipher.BlockSize() != gcmBlockSize {
    		return nil, errors.New("cipher: NewGCM requires 128-bit block cipher")
    	}
    
    	var key [gcmBlockSize]byte
    	cipher.Encrypt(key[:], key[:])
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  5. okhttp/src/main/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: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. src/crypto/aes/gcm_s390x.go

    )
    
    var errOpen = errors.New("cipher: message authentication failed")
    
    // Assert that aesCipherAsm implements the gcmAble interface.
    var _ gcmAble = (*aesCipherAsm)(nil)
    
    // NewGCM returns the AES cipher wrapped in Galois Counter Mode. This is only
    // called by [crypto/cipher.NewGCM] via the gcmAble interface.
    func (c *aesCipherAsm) NewGCM(nonceSize, tagSize int) (cipher.AEAD, error) {
    	var hk gcmHashKey
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  7. src/crypto/aes/asm_ppc64x.s

    //
    #define CIPHER_BLOCK(Vin, Vxor, Vout, vcipher, vciphel, label10, label12) \
    	VXOR	Vin, Vxor, Vout \
    	BEQ	CR1, label10 \
    	BEQ	CR2, label12 \
    	vcipher	Vout, V7, Vout \
    	vcipher	Vout, V8, Vout \
    	label12: \
    	vcipher	Vout, V9, Vout \
    	vcipher	Vout, V10, Vout \
    	label10: \
    	vcipher	Vout, V11, Vout \
    	vcipher	Vout, V12, Vout \
    	vcipher	Vout, V13, Vout \
    	vcipher	Vout, V14, Vout \
    	vcipher	Vout, V15, Vout \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:05:32 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/CipherSuite.kt

     * here. Cipher suites that are not available on either Android (through API level 24) or Java
     * (through JDK 9) are omitted for brevity.
     *
     * See [Android SSLEngine][sslengine] which lists the cipher suites supported by Android.
     *
     * See [JDK Providers][oracle_providers] which lists the cipher suites supported by Oracle.
     *
     * See [NativeCrypto.java][conscrypt_providers] which lists the cipher suites supported by
     * Conscrypt.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 39.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

            if (cookieNameMap == null) {
                cookieNameMap = new HashMap<>();
            }
            cookieNameMap.put(cookieName, roleName);
        }
    
        public void setCipher(final CachedCipher cipher) {
            this.cipher = cipher;
        }
    
        public void setValueSeparator(final String valueSeparator) {
            this.valueSeparator = valueSeparator;
        }
    
        public void setRoleSeparator(final String roleSeparator) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  10. src/crypto/aes/aes_test.go

    			continue
    		}
    		out := make([]byte, len(tt.in))
    		c.Encrypt(out, tt.in)
    		for j, v := range out {
    			if v != tt.out[j] {
    				t.Errorf("Cipher.Encrypt %d: out[%d] = %#x, want %#x", i, j, v, tt.out[j])
    				break
    			}
    		}
    	}
    }
    
    // Test Cipher Decrypt against FIPS 197 examples.
    func TestCipherDecrypt(t *testing.T) {
    	for i, tt := range encryptTests {
    		c, err := NewCipher(tt.key)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 14:58:19 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top