Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of about 10,000 for Cipher (0.15 sec)

  1. src/crypto/issue21104_test.go

    }
    func TestOFBOutOfBoundsWrite(t *testing.T) {
    	testBlock(t, "OFB", cipher.NewOFB)
    }
    func TestCFBEncryptOutOfBoundsWrite(t *testing.T) {
    	testBlock(t, "CFB Encrypt", cipher.NewCFBEncrypter)
    }
    func TestCFBDecryptOutOfBoundsWrite(t *testing.T) {
    	testBlock(t, "CFB Decrypt", cipher.NewCFBDecrypter)
    }
    func testBlock(t *testing.T, name string, newCipher func(cipher.Block, []byte) cipher.Stream) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 06 06:03:36 UTC 2017
    - 1.8K bytes
    - Viewed (0)
  2. 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)
  3. subprojects/core-api/src/main/java/org/gradle/util/internal/SupportedEncryptionAlgorithm.java

            return new IvParameterSpec(initVector);
        }
    
        private Cipher encryptingCipher(SecretKey key, IVCollector collector) throws EncryptionException {
            try {
                Cipher newCipher = Cipher.getInstance(transformation);
                newCipher.init(Cipher.ENCRYPT_MODE, key);
                if (initVectorLength > 0) {
                    assert collector != null;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 06 12:42:13 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  4. 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)
  5. src/crypto/aes/cbc_s390x.go

    func (x *cbc) CryptBlocks(dst, src []byte) {
    	if len(src)%BlockSize != 0 {
    		panic("crypto/cipher: input not full blocks")
    	}
    	if len(dst) < len(src) {
    		panic("crypto/cipher: output smaller than input")
    	}
    	if alias.InexactOverlap(dst[:len(src)], src) {
    		panic("crypto/cipher: invalid buffer overlap")
    	}
    	if len(src) > 0 {
    		cryptBlocksChain(x.c, &x.iv[0], &x.b.key[0], &dst[0], &src[0], len(src))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. src/crypto/aes/cbc_ppc64x.go

    func (b *aesCipherAsm) NewCBCEncrypter(iv []byte) cipher.BlockMode {
    	var c cbc
    	c.b = b
    	c.enc = cbcEncrypt
    	copy(c.iv[:], iv)
    	return &c
    }
    
    func (b *aesCipherAsm) NewCBCDecrypter(iv []byte) cipher.BlockMode {
    	var c cbc
    	c.b = b
    	c.enc = cbcDecrypt
    	copy(c.iv[:], iv)
    	return &c
    }
    
    func (x *cbc) BlockSize() int { return BlockSize }
    
    // cryptBlocksChain invokes the cipher message identifying encrypt or decrypt.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:31 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. 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);
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  8. pilot/cmd/pilot-discovery/app/options.go

    	cipherKeys := sets.New[string]()
    	for _, cipher := range tls.InsecureCipherSuites() {
    		cipherKeys.Insert(cipher.Name)
    	}
    	return sets.SortedList(cipherKeys)
    }
    
    // secureTLSCipherNames returns a list of secure cipher suite names implemented by crypto/tls.
    func secureTLSCipherNames() []string {
    	cipherKeys := sets.New[string]()
    	for _, cipher := range tls.CipherSuites() {
    		cipherKeys.Insert(cipher.Name)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 13 23:42:29 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  9. 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)
  10. 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.
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 9K bytes
    - Viewed (0)
Back to top