Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 208 for ALGORITHM (0.18 sec)

  1. guava-tests/benchmark/com/google/common/math/QuantilesBenchmark.java

      double median(int reps) {
        double dummy = 0.0;
        for (int i = 0; i < reps; i++) {
          dummy += algorithm.singleQuantile(1, 2, dataset(i));
        }
        return dummy;
      }
    
      @Benchmark
      double percentile90(int reps) {
        double dummy = 0.0;
        for (int i = 0; i < reps; i++) {
          dummy += algorithm.singleQuantile(90, 100, dataset(i));
        }
        return dummy;
      }
    
      @Benchmark
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 3.1K bytes
    - Viewed (0)
  2. internal/crypto/sse-s3.go

    // is nil.
    func (sses3) CreateMetadata(metadata map[string]string, keyID string, kmsKey []byte, sealedKey SealedKey) map[string]string {
    	if sealedKey.Algorithm != SealAlgorithm {
    		logger.CriticalIf(context.Background(), Errorf("The seal algorithm '%s' is invalid for SSE-S3", sealedKey.Algorithm))
    	}
    
    	// There are two possibilities:
    	// - We use a KMS -> There must be non-empty key ID and a KMS data key.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/kerberos/KerberosConstants.java

        static final int AUTH_DATA_RELEVANT = 1;
        static final int AUTH_DATA_PAC = 128;
    
        static final int DES_ENC_TYPE = 3;
        static final int RC4_ENC_TYPE = 23;
        static final String RC4_ALGORITHM = "ARCFOUR";
        static final String HMAC_ALGORITHM = "HmacMD5";
        static final int CONFOUNDER_SIZE = 8;
        static final int CHECKSUM_SIZE = 16;
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sat Jul 21 21:19:58 GMT 2018
    - 1.5K bytes
    - Viewed (0)
  4. internal/crypto/sse-kms.go

    func (ssekms) CreateMetadata(metadata map[string]string, keyID string, kmsKey []byte, sealedKey SealedKey, ctx kms.Context) map[string]string {
    	if sealedKey.Algorithm != SealAlgorithm {
    		logger.CriticalIf(context.Background(), Errorf("The seal algorithm '%s' is invalid for SSE-S3", sealedKey.Algorithm))
    	}
    
    	// There are two possibilities:
    	// - We use a KMS -> There must be non-empty key ID and a KMS data key.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt

      val extensions: List<Extension>,
    ) {
      /**
       * Returns the standard name of this certificate's signature algorithm as specified by
       * [Signature.getInstance]. Typical values are like "SHA256WithRSA".
       */
      val signatureAlgorithmName: String
        get() {
          return when (signature.algorithm) {
            ObjectIdentifiers.SHA256_WITH_RSA_ENCRYPTION -> "SHA256WithRSA"
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  6. cmd/xl-storage-free-version_test.go

    		Mode:             0,
    		Metadata:         nil,
    		Parts:            nil,
    		Erasure: ErasureInfo{
    			Algorithm:    ReedSolomon.String(),
    			DataBlocks:   4,
    			ParityBlocks: 2,
    			BlockSize:    10000,
    			Index:        1,
    			Distribution: []int{1, 2, 3, 4, 5, 6, 7, 8},
    			Checksums: []ChecksumInfo{{
    				PartNumber: 1,
    				Algorithm:  HighwayHash256S,
    				Hash:       nil,
    			}},
    		},
    		MarkDeleted:      false,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  7. internal/bucket/encryption/bucket-sse-config_test.go

    		},
    		Rules: []Rule{
    			{
    				DefaultEncryptionAction: EncryptionAction{
    					Algorithm: AES256,
    				},
    			},
    		},
    	}
    
    	actualAES256Config := &BucketSSEConfig{
    		XMLNS: xmlNS,
    		XMLName: xml.Name{
    			Local: "ServerSideEncryptionConfiguration",
    		},
    		Rules: []Rule{
    			{
    				DefaultEncryptionAction: EncryptionAction{
    					Algorithm: AES256,
    				},
    			},
    		},
    	}
    
    	actualKMSConfig := &BucketSSEConfig{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Aug 16 18:28:30 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  8. docs_src/security/tutorial004_an_py310.py

        else:
            expire = datetime.now(timezone.utc) + timedelta(minutes=15)
        to_encode.update({"exp": expire})
        encoded_jwt = jwt.encode(to_encode, SECRET_KEY, algorithm=ALGORITHM)
        return encoded_jwt
    
    
    async def get_current_user(token: Annotated[str, Depends(oauth2_scheme)]):
        credentials_exception = HTTPException(
            status_code=status.HTTP_401_UNAUTHORIZED,
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java

      // http://docs.oracle.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html
      //  - Some providers may choose to also include alias names.
      //  - For example, the "SHA-1" algorithm might be referred to as "SHA1".
      //  - The algorithm name is not case-sensitive.
      private static final ImmutableMap<String, HashFunction> ALGORITHMS =
          new ImmutableMap.Builder<String, HashFunction>()
              .put("MD5", Hashing.md5())
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  10. internal/crypto/error.go

    	// is not supported.
    	ErrInvalidEncryptionMethod = Errorf("The encryption method is not supported")
    
    	// ErrInvalidCustomerAlgorithm indicates that the specified SSE-C algorithm
    	// is not supported.
    	ErrInvalidCustomerAlgorithm = Errorf("The SSE-C algorithm is not supported")
    
    	// ErrMissingCustomerKey indicates that the HTTP headers contains no SSE-C client key.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 4.4K bytes
    - Viewed (0)
Back to top