Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 994 for encrypto (0.24 sec)

  1. src/crypto/tls/ticket.go

    	}
    	return s, nil
    }
    
    func (c *Config) decryptTicket(encrypted []byte, ticketKeys []ticketKey) []byte {
    	if len(encrypted) < aes.BlockSize+sha256.Size {
    		return nil
    	}
    
    	iv := encrypted[:aes.BlockSize]
    	ciphertext := encrypted[aes.BlockSize : len(encrypted)-sha256.Size]
    	authenticated := encrypted[:len(encrypted)-sha256.Size]
    	macBytes := encrypted[len(encrypted)-sha256.Size:]
    
    	for _, key := range ticketKeys {
    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. cmd/handler-utils.go

    	"X-Minio-Internal-Server-Side-Encryption-Sealed-Key":     "X-Minio-Replication-Server-Side-Encryption-Sealed-Key",
    	"X-Minio-Internal-Server-Side-Encryption-Seal-Algorithm": "X-Minio-Replication-Server-Side-Encryption-Seal-Algorithm",
    	"X-Minio-Internal-Server-Side-Encryption-Iv":             "X-Minio-Replication-Server-Side-Encryption-Iv",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/grpc_service_unix_test.go

    	wg1.Add(1)
    	wg2.Add(1)
    	go func() {
    		defer wg2.Done()
    		// Call service to encrypt data.
    		t.Log("Sending encrypt request")
    		wg1.Done()
    		_, err := service.Encrypt(ctx, uid, data)
    		if err != nil {
    			encryptErr = fmt.Errorf("failed when executing encrypt, error: %v", err)
    		}
    	}()
    
    	wg1.Wait()
    	time.Sleep(blackOut)
    	// Start KMS Plugin
    	_ = mock.NewBase64Plugin(t, endpoint.path)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 19:25:52 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config.go

    	aestransformer "k8s.io/apiserver/pkg/storage/value/encrypt/aes"
    	"k8s.io/apiserver/pkg/storage/value/encrypt/envelope"
    	envelopekmsv2 "k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2"
    	kmstypes "k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/v2"
    	envelopemetrics "k8s.io/apiserver/pkg/storage/value/encrypt/envelope/metrics"
    	"k8s.io/apiserver/pkg/storage/value/encrypt/identity"
    	"k8s.io/apiserver/pkg/storage/value/encrypt/secretbox"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  5. src/crypto/cipher/example_test.go

    	stream.XORKeyStream(ciphertext[aes.BlockSize:], plaintext)
    
    	// It's important to remember that ciphertexts must be authenticated
    	// (i.e. by using crypto/hmac) as well as being encrypted in order to
    	// be secure.
    
    	// CTR mode is the same for both encryption and decryption, so we can
    	// also decrypt that ciphertext with NewCTR.
    
    	plaintext2 := make([]byte, len(plaintext))
    	stream = cipher.NewCTR(block, iv)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 30 16:23:44 UTC 2018
    - 11.8K bytes
    - Viewed (0)
  6. cmd/object-handlers.go

    	}
    	var objectEncryptionKey crypto.ObjectKey
    	if crypto.Requested(r.Header) {
    		if crypto.SSECopy.IsRequested(r.Header) {
    			writeErrorResponse(ctx, w, toAPIError(ctx, errInvalidEncryptionParameters), r.URL)
    			return
    		}
    
    		if crypto.SSEC.IsRequested(r.Header) && crypto.S3.IsRequested(r.Header) {
    			writeErrorResponse(ctx, w, toAPIError(ctx, crypto.ErrIncompatibleEncryptionMethod), r.URL)
    			return
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
  7. docs/tls/README.md

    ned-keys-certificates) or generate them with [Let's Encrypt](https://letsencrypt.org) using these instructions: [Generate Let's Encrypt certificate using Certbot for MinIO](https://min.io/docs/minio/linux/integrations/generate-lets-encrypt-certificate-using-certbot-for-minio.html). For more about TLS and certificates in MinIO, see the [Network Encryption documentation](https://min.io/docs/minio/kubernetes/upstream/operations/network-encryption.html).
    
    Copy the existing private key and public...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/value/transformer_test.go

    				Subresource: "status",
    				Namespace:   "kube-system",
    				Name:        "panda",
    				Verb:        "update",
    			}),
    			err:         errors.New("encryption failed"),
    			message:     "failed to encrypt data",
    			expectedLog: "\"failed to encrypt data\" err=\"encryption failed\" group=\"awesome.bears.com\" version=\"v1\" resource=\"pandas\" subresource=\"status\" verb=\"update\" namespace=\"kube-system\" name=\"panda\"\n",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 22:44:02 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/EncryptionService.kt

    import java.security.InvalidKeyException
    import java.security.KeyStore
    import java.util.Base64
    import javax.crypto.CipherInputStream
    import javax.crypto.CipherOutputStream
    import javax.crypto.KeyGenerator
    import javax.crypto.SecretKey
    import javax.crypto.spec.SecretKeySpec
    
    
    /**
     * Provides access to configuration parameters to control encryption.
     */
    internal
    interface EncryptionConfiguration {
        val isEncrypting: Boolean
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  10. src/crypto/tls/key_agreement.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 tls
    
    import (
    	"crypto"
    	"crypto/ecdh"
    	"crypto/md5"
    	"crypto/rsa"
    	"crypto/sha1"
    	"crypto/x509"
    	"errors"
    	"fmt"
    	"io"
    )
    
    // A keyAgreement implements the client and server side of a TLS 1.0–1.2 key
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 14:56:25 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top