- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestChaCha8 (0.34 sec)
-
src/math/rand/v2/chacha8_test.go
// license that can be found in the LICENSE file. package rand_test import ( "bytes" "crypto/sha256" "encoding/hex" "io" . "math/rand/v2" "testing" "testing/iotest" ) func TestChaCha8(t *testing.T) { p := NewChaCha8(chacha8seed) for i, x := range chacha8output { if u := p.Uint64(); u != x { t.Errorf("ChaCha8 #%d = %#x, want %#x", i, u, x) } } p.Seed(chacha8seed)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:09:08 UTC 2024 - 55K bytes - Viewed (0)