Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 325 for cipher (0.2 sec)

  1. src/crypto/tls/ticket.go

    		return nil, err
    	}
    	key := ticketKeys[0]
    	block, err := aes.NewCipher(key.aesKey[:])
    	if err != nil {
    		return nil, errors.New("tls: failed to create cipher while encrypting ticket: " + err.Error())
    	}
    	cipher.NewCTR(block, iv).XORKeyStream(ciphertext, state)
    
    	mac := hmac.New(sha256.New, key.hmacKey[:])
    	mac.Write(authenticated)
    	mac.Sum(macBytes[:0])
    
    	return encrypted, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. pkg/features/security.go

    settings, including in-mesh mTLS and external TLS. Valid values are:
    
    * '' or unset places no additional restrictions.
    * 'fips-140-2' which enforces a version of the TLS protocol and a subset
    of cipher suites overriding any user preferences or defaults for all runtime
    components, including Envoy, gRPC Go SDK, and gRPC C++ SDK.
    
    WARNING: Setting compliance policy in the control plane is a necessary but
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 00:16:21 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

        }
    
        protected String createUserCodeFromUserId(String userCode) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final PrimaryCipher cipher = ComponentUtil.getPrimaryCipher();
            userCode = cipher.encrypt(userCode);
            if (fessConfig.isValidUserCode(userCode)) {
                return userCode;
            }
            return null;
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/secure_serving.go

    		tlsConfig.CipherSuites = s.CipherSuites
    		insecureCiphers := flag.InsecureTLSCiphers()
    		for i := 0; i < len(s.CipherSuites); i++ {
    			for cipherName, cipherID := range insecureCiphers {
    				if s.CipherSuites[i] == cipherID {
    					klog.Warningf("Use of insecure cipher '%s' detected.", cipherName)
    				}
    			}
    		}
    	}
    
    	if s.ClientCA != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 12 20:54:07 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/aes/aes_test.go

    type transformerFunc func(t testing.TB, block cipher.Block, key []byte) value.Transformer
    
    func newGCMTransformer(t testing.TB, block cipher.Block, _ []byte) value.Transformer {
    	t.Helper()
    
    	transformer, err := NewGCMTransformer(block)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	return transformer
    }
    
    func newGCMTransformerWithUniqueKeyUnsafeTest(t testing.TB, block cipher.Block, _ []byte) value.Transformer {
    	t.Helper()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 19:25:52 UTC 2023
    - 23.2K bytes
    - Viewed (0)
  6. src/crypto/tls/handshake_client.go

    	var clientCipher, serverCipher any
    	var clientHash, serverHash hash.Hash
    	if hs.suite.cipher != nil {
    		clientCipher = hs.suite.cipher(clientKey, clientIV, false /* not for reading */)
    		clientHash = hs.suite.mac(clientMAC)
    		serverCipher = hs.suite.cipher(serverKey, serverIV, true /* for reading */)
    		serverHash = hs.suite.mac(serverMAC)
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 38.6K bytes
    - Viewed (0)
  7. samples/tlssurvey/src/main/kotlin/okhttp3/survey/CipherSuiteSurvey.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.survey
    
    import okhttp3.survey.types.Client
    import okhttp3.survey.types.SuiteId
    
    /**
     * Organizes information on SSL cipher suite inclusion and precedence for this spreadsheet.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Apr 02 01:44:15 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. src/crypto/cipher/io.go

    // Copyright 2010 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package cipher
    
    import "io"
    
    // The Stream* objects are so simple that all their members are public. Users
    // can create them themselves.
    
    // StreamReader wraps a [Stream] into an [io.Reader]. It calls XORKeyStream
    // to process each slice of data which passes through.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. pilot/pkg/security/authn/utils/utils.go

    		ctx.CommonTlsContext.AlpnProtocols = util.ALPNHttp
    	}
    	ciphers := SupportedCiphers
    	if mc != nil && mc.MeshMTLS != nil && mc.MeshMTLS.CipherSuites != nil {
    		ciphers = mc.MeshMTLS.CipherSuites
    	}
    	// Set Minimum TLS version to match the default client version and allowed strong cipher suites for sidecars.
    	ctx.CommonTlsContext.TlsParams = &tls.TlsParameters{
    		CipherSuites:              ciphers,
    		TlsMinimumProtocolVersion: minTLSVersion,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 00:16:21 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. src/crypto/tls/common.go

    	InsecureSkipVerify bool
    
    	// CipherSuites is a list of enabled TLS 1.0–1.2 cipher suites. The order of
    	// the list is ignored. Note that TLS 1.3 ciphersuites are not configurable.
    	//
    	// If CipherSuites is nil, a safe default list is used. The default cipher
    	// suites might change over time. In Go 1.22 RSA key exchange based cipher
    	// suites were removed from the default list, but can be re-added with the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
Back to top