- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for NewChaCha8 (0.07 sec)
-
api/go1.22.txt
pkg math/rand/v2, func Int64N(int64) int64 #61716 pkg math/rand/v2, func IntN(int) int #61716 pkg math/rand/v2, func N[$0 intType]($0) $0 #61716 pkg math/rand/v2, func New(Source) *Rand #61716 pkg math/rand/v2, func NewChaCha8([32]uint8) *ChaCha8 #61716 pkg math/rand/v2, func NewPCG(uint64, uint64) *PCG #61716 pkg math/rand/v2, func NewZipf(*Rand, float64, float64, uint64) *Zipf #61716 pkg math/rand/v2, func NormFloat64() float64 #61716
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Wed Jan 24 20:54:27 UTC 2024 - 7.7K bytes - Viewed (0) -
lib/fips140/v1.1.0-rc1.zip
file. package subtle import ( "bytes" "crypto/internal/fips140deps/byteorder" "math/rand/v2" "testing" "time" ) func TestConstantTimeLess(t *testing.T) { seed := make([]byte, 32) byteorder.BEPutUint64(seed, uint64(time.Now().UnixNano())) r := rand.NewChaCha8([32]byte(seed)) for l := range 20 { a := make([]byte, l) b := make([]byte, l) empty := make([]byte, l) r.Read(a) r.Read(b) exp := 0 if bytes.Compare(a, b) <= 0 { exp = 1 } if got := ConstantTimeLessOrEq(a, b); got != exp { t.Errorf("ConstantTimeLessOrEq(%x,...
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Dec 11 16:27:41 UTC 2025 - 663K bytes - Viewed (0)