Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for P256 (0.02 sec)

  1. internal/config/identity/openid/jwks_test.go

    		t.Fatalf("Expected ECDSA key[0], got %T", keys[0])
    	} else if key1, ok := keys[1].(*rsa.PublicKey); !ok {
    		t.Fatalf("Expected RSA key[1], got %T", keys[1])
    	} else if key0.Curve != elliptic.P256() {
    		t.Fatal("Key[0] is not using P-256 curve")
    	} else if !bytes.Equal(key0.X.Bytes(), []byte{
    		0x30, 0xa0, 0x42, 0x4c, 0xd2,
    		0x1c, 0x29, 0x44, 0x83, 0x8a, 0x2d, 0x75, 0xc9, 0x2b, 0x37, 0xe7, 0x6e, 0xa2,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 9.8K bytes
    - Viewed (0)
  2. cmd/metacache-stream.go

    		return nil
    	}
    	if r.current.name != "" {
    		if r.current.name >= s {
    			return nil
    		}
    		r.current.name = ""
    		r.current.metadata = nil
    	}
    	// temporary name buffer.
    	tmp := make([]byte, 0, 256)
    	for {
    		if more, err := r.mr.ReadBool(); !more {
    			switch err {
    			case nil:
    				r.err = io.EOF
    				return io.EOF
    			case io.EOF:
    				r.err = io.ErrUnexpectedEOF
    				return io.ErrUnexpectedEOF
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/HashingTest.java

      }
    
      // goodFastHash(256) uses Murmur3_128. Use the same epsilon bounds.
      public void testGoodFastHash256() {
        HashTestUtils.check2BitAvalanche(Hashing.goodFastHash(256), 250, 0.20);
        HashTestUtils.checkAvalanche(Hashing.goodFastHash(256), 500, 0.17);
        HashTestUtils.checkNo2BitCharacteristics(Hashing.goodFastHash(256));
        HashTestUtils.checkNoFunnels(Hashing.goodFastHash(256));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 17:40:09 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

        fun X509Certificate.sha256Hash(): ByteString = publicKey.encoded.toByteString().sha256()
    
        /**
         * Returns the SHA-256 of `certificate`'s public key.
         *
         * In OkHttp 3.1.2 and earlier, this returned a SHA-1 hash of the public key. Both types are
         * supported, but SHA-256 is preferred.
         */
        @JvmStatic
        fun pin(certificate: Certificate): String {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  5. docs/security/README.md

    - [PRF](#prf): HMAC-SHA-256
    - [AEAD](#aead): AES-256-GCM if the CPU supports AES-NI, ChaCha20-Poly1305 otherwise. More specifically AES-256-GCM is only selected for X86-64 CPUs with AES-NI extension.
    
    Further any secret key (apart from the KMS-generated ones) is 256 bits long. The KMS-generated keys may be 256 bits but this depends on the KMS capabilities and configuration.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Feb 12 00:51:25 UTC 2022
    - 13.8K bytes
    - Viewed (0)
  6. mvnw

    ##########################################################################################
    # End of extension
    ##########################################################################################
    
    # If specified, validate the SHA-256 sum of the Maven wrapper jar file
    wrapperSha256Sum=""
    while IFS="=" read -r key value; do
      case "$key" in wrapperSha256Sum)
        wrapperSha256Sum=$value
        break
        ;;
      esac
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 14 22:24:15 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/HashTestUtils.java

        int hashBytes = hashbits / 8;
    
        byte[] key = new byte[256];
        byte[] hashes = new byte[hashBytes * 256];
    
        // Hash keys of the form {}, {0}, {0,1}, {0,1,2}... up to N=255,using 256-N as the seed
        for (int i = 0; i < 256; i++) {
          key[i] = (byte) i;
          int seed = 256 - i;
          byte[] hash = hashFunction.hash(Arrays.copyOf(key, i), seed);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  8. internal/crypto/header_test.go

    	Header   http.Header
    	Expected bool
    }{
    	{Header: http.Header{"X-Amz-Server-Side-Encryption": []string{"AES256"}}, Expected: true},                // 0
    	{Header: http.Header{"X-Amz-Server-Side-Encryption": []string{"AES-256"}}, Expected: true},               // 1
    	{Header: http.Header{"X-Amz-Server-Side-Encryption": []string{""}}, Expected: true},                      // 2
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 13 14:52:15 UTC 2022
    - 21.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

                        len = Strings.findUNITermination(buffer, bufferIndex, 256);
                        this.server.oemDomainName = Strings.fromUNIBytes(buffer, bufferIndex, len);
                    }
                    else {
                        len = Strings.findTermination(buffer, bufferIndex, 256);
                        this.server.oemDomainName = Strings.fromOEMBytes(buffer, bufferIndex, len, getConfig());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 15.4K bytes
    - Viewed (0)
  10. internal/event/target/elasticsearch.go

    		err = fmt.Errorf("bad ES version string: %s", version)
    		return
    	}
    
    	switch {
    	case majorVersion <= 6:
    		res = ESSUnsupported
    	default:
    		res = ESSSupported
    	}
    	return
    }
    
    // magic HH-256 key as HH-256 hash of the first 100 decimals of π as utf-8 string with a zero key.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top