- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for sha256Hash (0.13 sec)
-
schema/naming_test.go
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Tue May 30 02:00:48 UTC 2023 - 7K bytes - Viewed (0) -
src/crypto/internal/boring/sha.go
// NewSHA256 returns a new SHA256 hash. func NewSHA256() hash.Hash { h := new(sha256Hash) h.Reset() return h } type sha256Hash struct { ctx C.GO_SHA256_CTX out [256 / 8]byte } func (h *sha256Hash) noescapeCtx() *C.GO_SHA256_CTX { return (*C.GO_SHA256_CTX)(noescape(unsafe.Pointer(&h.ctx))) } func (h *sha256Hash) Reset() { C._goboringcrypto_SHA256_Init(h.noescapeCtx()) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 20 17:51:31 UTC 2023 - 16.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt
var sha1: ByteString? = null var sha256: ByteString? = null for (pin in pins) { when (pin.hashAlgorithm) { "sha256" -> { if (sha256 == null) sha256 = peerCertificate.sha256Hash() if (pin.hash == sha256) return // Success! } "sha1" -> { if (sha1 == null) sha1 = peerCertificate.sha1Hash() if (pin.hash == sha1) return // Success!
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 14.2K bytes - Viewed (0) -
src/crypto/internal/boring/hmac.go
// to a BoringCrypto *C.GO_EVP_MD. func hashToMD(h hash.Hash) *C.GO_EVP_MD { switch h.(type) { case *sha1Hash: return C._goboringcrypto_EVP_sha1() case *sha224Hash: return C._goboringcrypto_EVP_sha224() case *sha256Hash: return C._goboringcrypto_EVP_sha256() case *sha384Hash: return C._goboringcrypto_EVP_sha384() case *sha512Hash: return C._goboringcrypto_EVP_sha512() } return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 20 17:51:31 UTC 2023 - 4K bytes - Viewed (0) -
okhttp/api/okhttp.api
public fun hashCode ()I public static final fun pin (Ljava/security/cert/Certificate;)Ljava/lang/String; public static final fun sha1Hash (Ljava/security/cert/X509Certificate;)Lokio/ByteString; public static final fun sha256Hash (Ljava/security/cert/X509Certificate;)Lokio/ByteString; } public final class okhttp3/CertificatePinner$Builder { public fun <init> ()V
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Apr 15 13:41:01 UTC 2024 - 70.2K bytes - Viewed (0)