Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for downloadEd25519Vectors (0.17 sec)

  1. src/crypto/ed25519/ed25519vectors_test.go

    // should use github.com/hdevalence/ed25519consensus.
    //
    // See https://hdevalence.ca/blog/2020-10-04-its-25519am for more details.
    func TestEd25519Vectors(t *testing.T) {
    	jsonVectors := downloadEd25519Vectors(t)
    	var vectors []struct {
    		A, R, S, M string
    		Flags      []string
    	}
    	if err := json.Unmarshal(jsonVectors, &vectors); err != nil {
    		t.Fatal(err)
    	}
    	for i, v := range vectors {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 25 14:52:51 UTC 2022
    - 3.7K bytes
    - Viewed (0)
Back to top