Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 156 for sha256 (0.04 sec)

  1. cmd/test-utils_test.go

    		req.Body = io.NopCloser(bytes.NewReader([]byte("")))
    	}
    
    	contentLength := calculateStreamContentLength(dataLength, chunkSize)
    
    	req.Header.Set("x-amz-content-sha256", "STREAMING-AWS4-HMAC-SHA256-PAYLOAD")
    	req.Header.Set("content-encoding", "aws-chunked")
    	req.Header.Set("x-amz-decoded-content-length", strconv.FormatInt(dataLength, 10))
    	req.Header.Set("content-length", strconv.FormatInt(contentLength, 10))
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v1.go

    			return false
    		}
    	}
    	return true
    }
    
    // BitrotAlgorithm specifies a algorithm used for bitrot protection.
    type BitrotAlgorithm uint
    
    const (
    	// SHA256 represents the SHA-256 hash function
    	SHA256 BitrotAlgorithm = 1 + iota
    	// HighwayHash256 represents the HighwayHash-256 hash function
    	HighwayHash256
    	// HighwayHash256S represents the Streaming HighwayHash-256 hash function
    	HighwayHash256S
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt

      }
    
      @Test fun testGoodPin() {
        val pin =
          Pin(
            "**.example.co.uk",
            "sha256/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=",
          )
        assertEquals("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=".decodeBase64(), pin.hash)
        assertEquals("sha256", pin.hashAlgorithm)
        assertEquals("**.example.co.uk", pin.pattern)
        assertTrue(pin.matchesHostname("www.example.co.uk"))
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/kt/CertificatePinning.kt

    import okhttp3.Request
    
    class CertificatePinning {
      private val client =
        OkHttpClient
          .Builder()
          .certificatePinner(
            CertificatePinner
              .Builder()
              .add("publicobject.com", "sha256/Vjs8r4z+80wjNcr1YKepWQboSIRi63WsWXhIMN+eWys=")
              .build(),
          ).build()
    
      fun run() {
        val request =
          Request
            .Builder()
            .url("https://publicobject.com/robots.txt")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/RequestBodyTest.kt

          val buffer = Buffer()
          requestBody.writeTo(buffer)
          assertThat(buffer.readUtf8()).isEqualTo("Hello")
        }
      }
    
      @Test
      fun testSha256() {
        val hash = "Hello".toRequestBody().sha256().hex()
        assertThat(hash).isEqualTo("185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969")
      }
    
      private inline fun <T> assertOnFileDescriptor(
        content: String? = null,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 14:16:29 UTC 2025
    - 3.8K bytes
    - Viewed (1)
  6. lib/hg/goreposum.py

      and then all the bookmark names and hashes.
      Tags are stored in .hgtags files in any of the branches,
      so the branch metadata includes the tags as well.
      """
      h = hashlib.sha256()
      peer = hg.peer(ui, {}, url)
      for name, revs in peer.branchmap().items():
        h.update(name)
        for r in revs:
          h.update(b' ')
          h.update(r)
        h.update(b'\n')
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Nov 11 15:21:02 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.10.md

    ## Downloads for v1.10.8
    
    
    filename | sha256 hash
    -------- | -----------
    [kubernetes.tar.gz](https://dl.k8s.io/v1.10.8/kubernetes.tar.gz) | `8af88c2aa340fd4801e39374572e4e4b876b0c723327fe32286bb4a0b3f5c1fd`
    [kubernetes-src.tar.gz](https://dl.k8s.io/v1.10.8/kubernetes-src.tar.gz) | `23e5e78b3d96c7acf955bedb38d0d2f03e5d70f9a263d3e571689b12fc90fd5b`
    
    ### Client Binaries
    
    filename | sha256 hash
    -------- | -----------
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 341.8K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/CertificatePinning.java

    public final class CertificatePinning {
      private final OkHttpClient client = new OkHttpClient.Builder()
          .certificatePinner(
              new CertificatePinner.Builder()
                  .add("publicobject.com", "sha256/Vjs8r4z+80wjNcr1YKepWQboSIRi63WsWXhIMN+eWys=")
                  .build())
          .build();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Dec 08 21:30:01 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  9. internal/http/headers.go

    	// Object date/time of expiration
    	AmzExpiration = "x-amz-expiration"
    
    	// Dummy putBucketACL
    	AmzACL = "x-amz-acl"
    
    	// Signature V4 related constants.
    	AmzContentSha256        = "X-Amz-Content-Sha256"
    	AmzDate                 = "X-Amz-Date"
    	AmzAlgorithm            = "X-Amz-Algorithm"
    	AmzExpires              = "X-Amz-Expires"
    	AmzSignedHeaders        = "X-Amz-SignedHeaders"
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed May 07 15:37:12 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  10. cmd/xl-storage_test.go

    	expError  error
    }{
    	{file: "myobject", offset: 0, length: 100, algorithm: SHA256, expError: nil},                // 0
    	{file: "myobject", offset: 25, length: 74, algorithm: SHA256, expError: nil},                // 1
    	{file: "myobject", offset: 29, length: 70, algorithm: SHA256, expError: nil},                // 2
    	{file: "myobject", offset: 100, length: 0, algorithm: SHA256, expError: nil},                // 3
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 66K bytes
    - Viewed (0)
Back to top