Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 132 for SHA256 (3.66 sec)

  1. android/guava/src/com/google/common/hash/Hashing.java

      }
    
      /** Returns a hash function implementing the SHA-256 algorithm (256 hash bits). */
      public static HashFunction sha256() {
        return Sha256Holder.SHA_256;
      }
    
      private static final class Sha256Holder {
        static final HashFunction SHA_256 =
            new MessageDigestHashFunction("SHA-256", "Hashing.sha256()");
      }
    
      /**
       * Returns a hash function implementing the SHA-384 algorithm (384 hash bits).
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. cmd/sftp-server.go

    	kexAlgoDH14SHA256             = "diffie-hellman-group14-sha256"
    	kexAlgoDH16SHA512             = "diffie-hellman-group16-sha512"
    	kexAlgoECDH256                = "ecdh-sha2-nistp256"
    	kexAlgoECDH384                = "ecdh-sha2-nistp384"
    	kexAlgoECDH521                = "ecdh-sha2-nistp521"
    	kexAlgoCurve25519SHA256LibSSH = "curve25519-sha256@libssh.org"
    	kexAlgoCurve25519SHA256       = "curve25519-sha256"
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 16.5K 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