Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 994 for encrypto (1.03 sec)

  1. src/crypto/cipher/cfb.go

    // CFB (Cipher Feedback) Mode.
    
    package cipher
    
    import (
    	"crypto/internal/alias"
    	"crypto/subtle"
    )
    
    type cfb struct {
    	b       Block
    	next    []byte
    	out     []byte
    	outUsed int
    
    	decrypt bool
    }
    
    func (x *cfb) XORKeyStream(dst, src []byte) {
    	if len(dst) < len(src) {
    		panic("crypto/cipher: output smaller than input")
    	}
    	if alias.InexactOverlap(dst[:len(src)], src) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. cmd/object-multipart-handlers.go

    			writeErrorResponse(ctx, w, toAPIError(ctx, crypto.ErrIncompatibleEncryptionMethod), r.URL)
    			return
    		}
    
    		_, sourceReplReq := r.Header[xhttp.MinIOSourceReplicationRequest]
    		ssecRepHeaders := []string{
    			"X-Minio-Replication-Server-Side-Encryption-Seal-Algorithm",
    			"X-Minio-Replication-Server-Side-Encryption-Sealed-Key",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 38.8K bytes
    - Viewed (0)
  3. internal/crypto/sse.go

    package crypto
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"io"
    	"net/http"
    
    	"github.com/minio/minio/internal/fips"
    	"github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/sio"
    )
    
    const (
    	// SealAlgorithm is the encryption/sealing algorithm used to derive & seal
    	// the key-encryption-key and to en/decrypt the object data.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Aug 30 15:26:43 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  4. src/crypto/aes/gcm_s390x.go

    //go:build !purego
    
    package aes
    
    import (
    	"crypto/cipher"
    	"crypto/internal/alias"
    	"crypto/subtle"
    	"errors"
    	"internal/byteorder"
    	"internal/cpu"
    )
    
    // This file contains two implementations of AES-GCM. The first implementation
    // (gcmAsm) uses the KMCTR instruction to encrypt using AES in counter mode and
    // the KIMD instruction for GHASH. The second implementation (gcmKMA) uses the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/envelope_test.go

    	testCases := []struct {
    		desc     string
    		expected []string
    	}{
    		{
    			desc: "encrypt",
    			expected: []string{
    				"About to encrypt data using DEK",
    				"Data encryption succeeded",
    				"About to encode encrypted object",
    				"Encoded encrypted object",
    			},
    		},
    	}
    
    	for _, tc := range testCases {
    		t.Run(tc.desc, func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 25 16:50:20 UTC 2023
    - 47.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/v2/api.proto

    syntax = "proto3";
    
    package v2;
    option go_package = "k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/v2";
    
    // EncryptedObject is the representation of data stored in etcd after envelope encryption.
    message EncryptedObject {
      // EncryptedData is the encrypted data.
      bytes encryptedData = 1;
    
      // KeyID is the KMS key ID used for encryption operations.
      // keyID must satisfy the following constraints:
      // 1. The keyID is not empty.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 18:43:30 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  7. cmd/bucket-encryption.go

    	"io"
    
    	sse "github.com/minio/minio/internal/bucket/encryption"
    )
    
    // BucketSSEConfigSys - in-memory cache of bucket encryption config
    type BucketSSEConfigSys struct{}
    
    // NewBucketSSEConfigSys - Creates an empty in-memory bucket encryption configuration cache
    func NewBucketSSEConfigSys() *BucketSSEConfigSys {
    	return &BucketSSEConfigSys{}
    }
    
    // Get - gets bucket encryption config for the given bucket.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  8. security/pkg/pki/util/crypto.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package util
    
    import (
    	"bytes"
    	"crypto"
    	"crypto/ecdsa"
    	"crypto/elliptic"
    	"crypto/rsa"
    	"crypto/x509"
    	"encoding/pem"
    	"fmt"
    	"reflect"
    	"strings"
    )
    
    const (
    	blockTypeECPrivateKey    = "EC PRIVATE KEY"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 13:00:07 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. src/crypto/crypto.go

    }
    
    const (
    	MD4         Hash = 1 + iota // import golang.org/x/crypto/md4
    	MD5                         // import crypto/md5
    	SHA1                        // import crypto/sha1
    	SHA224                      // import crypto/sha256
    	SHA256                      // import crypto/sha256
    	SHA384                      // import crypto/sha512
    	SHA512                      // import crypto/sha512
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/envelope_test.go

    limitations under the License.
    */
    
    package envelope
    
    import (
    	"bytes"
    	"context"
    	"crypto/aes"
    	"crypto/cipher"
    	"encoding/base64"
    	"encoding/binary"
    	"fmt"
    	"strconv"
    	"strings"
    	"testing"
    
    	"k8s.io/apiserver/pkg/storage/value"
    	aestransformer "k8s.io/apiserver/pkg/storage/value/encrypt/aes"
    )
    
    const (
    	testText              = "abcdefghijklmnopqrstuvwxyz"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 14:23:50 UTC 2023
    - 10.1K bytes
    - Viewed (0)
Back to top