Exemple #1
0
 public static Signature SignRFC6979(this ECDsa key, IMessage message)
 {
     return(new Signature
     {
         Key = ByteString.CopyFrom(key.PublicKey()),
         Sign = ByteString.CopyFrom(key.SignRFC6979(message.ToByteArray())),
     });
 }