Skip to content

Instantly share code, notes, and snippets.

@tnakagawa
tnakagawa / test_vectors.md
Created March 6, 2018 00:06 — forked from kallewoof/test_vectors.md
Test vectors, Schnorr signatures

Schnorr signature test vectors

Test vector overview

  1. Hash function H(m) = SHA256(SHA256(m))
  2. Hash function H(m) = SHA256(m)

Basics

  • For a private key x, the public key is xG.
  • A signature on the message m with private key x is (R, s) where R=kG, s=k+H(R,X,m)x.