Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 70 for Crypto (0.1 sec)

  1. cmd/encryption-v1.go

    	case crypto.SSEC:
    		objectKey := crypto.GenerateKey(key, rand.Reader)
    		sealedKey = objectKey.Seal(key, crypto.GenerateIV(rand.Reader), crypto.SSEC.String(), bucket, object)
    		crypto.SSEC.CreateMetadata(metadata, sealedKey)
    		return objectKey, nil
    	default:
    		return crypto.ObjectKey{}, fmt.Errorf("encryption type '%v' not supported", kind)
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:06:08 UTC 2024
    - 37.2K bytes
    - Viewed (0)
  2. doc/godebug.md

    X25519Kyber768Draft00 by default. The default can be reverted using the
    [`tlskyber` setting](/pkg/crypto/tls/#Config.CurvePreferences).
    
    Go 1.23 changed the behavior of
    [crypto/x509.ParseCertificate](/pkg/crypto/x509/#ParseCertificate) to reject
    serial numbers that are negative. This change can be reverted with
    the [`x509negativeserial` setting](/pkg/crypto/x509/#ParseCertificate).
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 28 14:46:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  3. cmd/object-multipart-handlers.go

    		}
    	}
    
    	encMetadata := map[string]string{}
    
    	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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  4. lib/wasm/wasm_exec_node.js

    globalThis.path = require("path");
    globalThis.TextEncoder = require("util").TextEncoder;
    globalThis.TextDecoder = require("util").TextDecoder;
    
    globalThis.performance ??= require("performance");
    
    globalThis.crypto ??= require("crypto");
    
    require("./wasm_exec");
    
    const go = new Go();
    go.argv = process.argv.slice(2);
    go.env = Object.assign({ TMPDIR: require("os").tmpdir() }, process.env);
    go.exit = process.exit;
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Aug 30 19:15:21 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. cmd/object-handlers.go

    	var kmsCtx kms.Context
    	var objEncKey crypto.ObjectKey
    	sseCopyKMS := crypto.S3KMS.IsEncrypted(srcInfo.UserDefined)
    	sseCopyS3 := crypto.S3.IsEncrypted(srcInfo.UserDefined)
    	sseCopyC := crypto.SSEC.IsEncrypted(srcInfo.UserDefined) && crypto.SSECopy.IsRequested(r.Header)
    	sseC := crypto.SSEC.IsRequested(r.Header)
    	sseS3 := crypto.S3.IsRequested(r.Header)
    	sseKMS := crypto.S3KMS.IsRequested(r.Header)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  6. cmd/api-response.go

    	m := cloneMSS(metadata)
    
    	switch kind, _ := crypto.IsEncrypted(metadata); kind {
    	case crypto.S3:
    		m[xhttp.AmzServerSideEncryption] = xhttp.AmzEncryptionAES
    	case crypto.S3KMS:
    		m[xhttp.AmzServerSideEncryption] = xhttp.AmzEncryptionKMS
    		m[xhttp.AmzServerSideEncryptionKmsID] = kmsKeyIDFromMetadata(metadata)
    		if kmsCtx, ok := metadata[crypto.MetaContext]; ok {
    			m[xhttp.AmzServerSideEncryptionKmsContext] = kmsCtx
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  7. api/next/62384.txt

    pkg math/rand/v2, method (*ChaCha8) AppendBinary([]uint8) ([]uint8, error) #62384
    pkg math/rand/v2, method (*PCG) AppendBinary([]uint8) ([]uint8, error) #62384
    pkg crypto/x509, method (OID) AppendBinary([]uint8) ([]uint8, error) #62384
    pkg crypto/x509, method (OID) AppendText([]uint8) ([]uint8, error) #62384
    pkg net, method (IP) AppendText([]uint8) ([]uint8, error) #62384
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 18:10:51 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. src/README.vendor

    src/cmd/go.mod. When a package outside std or cmd is imported
    by a package inside std or cmd, the import path is interpreted
    as if it had a "vendor/" prefix. For example, within "crypto/tls",
    an import of "golang.org/x/crypto/cryptobyte" resolves to
    "vendor/golang.org/x/crypto/cryptobyte". When a package with the
    same path is imported from a package outside std or cmd, it will
    be resolved normally. Consequently, a binary may be built with two
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 30 19:15:39 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. internal/jwt/parser.go

    		New: func() interface{} {
    			buf := make([]byte, base64BufferSize)
    			return &buf
    		},
    	}
    
    	hmacSigners = []*SigningMethodHMAC{
    		{Name: "HS256", Hash: crypto.SHA256},
    		{Name: "HS384", Hash: crypto.SHA384},
    		{Name: "HS512", Hash: crypto.SHA512},
    	}
    	for i := range hmacSigners {
    		h := hmacSigners[i].Hash
    		hmacSigners[i].HasherPool.New = func() interface{} {
    			return h.New()
    		}
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. cmd/batch-rotate.go

    	srcBucket := r.Bucket
    	srcObject := objInfo.Name
    
    	if objInfo.DeleteMarker || !objInfo.VersionPurgeStatus.Empty() {
    		return nil
    	}
    	sseKMS := crypto.S3KMS.IsEncrypted(objInfo.UserDefined)
    	sseS3 := crypto.S3.IsEncrypted(objInfo.UserDefined)
    	if !sseKMS && !sseS3 { // neither sse-s3 nor sse-kms disallowed
    		return errInvalidEncryptionParameters
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 14.7K bytes
    - Viewed (0)
Back to top