- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 174 for Hex (0.04 sec)
-
cmd/kubeadm/app/util/pubkeypin/pubkeypin.go
hashLength := hex.DecodedLen(len(hash)) if hashLength != sha256.Size { return errors.Errorf("expected a %d byte SHA-256 hash, found %d bytes", sha256.Size, hashLength) } // validate that the hash is valid hex _, err := hex.DecodeString(hash) if err != nil { return errors.Wrap(err, "could not decode SHA-256 from hex") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 13 11:38:39 UTC 2021 - 3.8K bytes - Viewed (0) -
src/runtime/signal_linux_s390x.go
func dumpregs(c *sigctxt) { print("r0 ", hex(c.r0()), "\t") print("r1 ", hex(c.r1()), "\n") print("r2 ", hex(c.r2()), "\t") print("r3 ", hex(c.r3()), "\n") print("r4 ", hex(c.r4()), "\t") print("r5 ", hex(c.r5()), "\n") print("r6 ", hex(c.r6()), "\t") print("r7 ", hex(c.r7()), "\n") print("r8 ", hex(c.r8()), "\t") print("r9 ", hex(c.r9()), "\n") print("r10 ", hex(c.r10()), "\t")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 17 20:42:23 UTC 2021 - 4.5K bytes - Viewed (0) -
src/crypto/cipher/cfb_test.go
func TestCFBVectors(t *testing.T) { for i, test := range cfbTests { key, err := hex.DecodeString(test.key) if err != nil { t.Fatal(err) } iv, err := hex.DecodeString(test.iv) if err != nil { t.Fatal(err) } plaintext, err := hex.DecodeString(test.plaintext) if err != nil { t.Fatal(err) } expected, err := hex.DecodeString(test.ciphertext) if err != nil { t.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 22:18:36 UTC 2019 - 2.8K bytes - Viewed (0) -
cmd/hasher.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "crypto/md5" "encoding/hex" "github.com/minio/minio/internal/hash/sha256" ) // getSHA256Hash returns SHA-256 hash in hex encoding of given data. func getSHA256Hash(data []byte) string { return hex.EncodeToString(getSHA256Sum(data)) } // getSHA256Hash returns SHA-256 sum of given data. func getSHA256Sum(data []byte) []byte {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 27 13:00:19 UTC 2022 - 1.4K bytes - Viewed (0) -
src/crypto/rsa/boring_test.go
} }() } wg.Wait() } } func bigFromHex(hex string) *big.Int { n, ok := new(big.Int).SetString(hex, 16) if !ok { panic("bad hex: " + hex) } return n } func fromHex(hexStr string) []byte { s, err := hex.DecodeString(hexStr) if err != nil { panic(err) } return s
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 15 00:16:30 UTC 2022 - 4.5K bytes - Viewed (0) -
src/crypto/tls/ech_test.go
// Copyright 2024 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package tls import ( "encoding/hex" "testing" ) func TestDecodeECHConfigLists(t *testing.T) { for _, tc := range []struct { list string numConfigs int }{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 2K bytes - Viewed (0) -
src/cmd/internal/objabi/path.go
n++ } } // quick exit if n == 0 { return s } // escape const hex = "0123456789abcdef" p := make([]byte, 0, len(s)+2*n) for r := 0; r < len(s); r++ { if c := s[r]; c <= ' ' || (c == '.' && r > slash) || c == '%' || c == '"' || c >= 0x7F { p = append(p, '%', hex[c>>4], hex[c&0xF]) } else { p = append(p, c) } } return string(p) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 13:56:25 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/software/security/src/test/groovy/org/gradle/plugins/signing/signatory/pgp/PgpKeyIdSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 1.3K bytes - Viewed (0) -
common/config/sass-lint.yml
force-pseudo-nesting: 0 function-name-format: 2 hex-length: 0 hex-notation: 2 id-name-format: 2 indentation: - 2 - size: 4 leading-zero: - 2 - include: false max-file-line-count: 0 max-file-length: 0 mixins-before-declarations: 2 no-attribute-selectors: 0 no-color-hex: 0 no-color-keywords: 0 no-color-literals: 0 no-combinators: 0
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Sep 11 23:32:21 UTC 2019 - 2K bytes - Viewed (0) -
src/html/template/css.go
j++ } r := hexDecode(s[1:j]) if r > unicode.MaxRune { r, j = r/16, j-1 } n := utf8.EncodeRune(b[len(b):cap(b)], r) // The optional space at the end allows a hex // sequence to be followed by a literal hex. // string(decodeCSS([]byte(`\A B`))) == "\nB" b, s = b[:len(b)+n], skipCSSSpace(s[j:]) } else { // `\\` decodes to `\` and `\"` to `"`. _, n := utf8.DecodeRune(s[1:])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 02 19:38:18 UTC 2023 - 7K bytes - Viewed (0)