- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for leftEncode (0.14 sec)
-
src/vendor/golang.org/x/crypto/sha3/shake.go
rate128 = 168 rate256 = 136 ) func bytepad(input []byte, w int) []byte { // leftEncode always returns max 9 bytes buf := make([]byte, 0, 9+len(input)+w) buf = append(buf, leftEncode(uint64(w))...) buf = append(buf, input...) padlen := w - (len(buf) % w) return append(buf, make([]byte, padlen)...) } func leftEncode(value uint64) []byte { var b [9]byte binary.BigEndian.PutUint64(b[1:], value)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 5.4K bytes - Viewed (0)