Beispiel #1
0
 public bool Verify(string message, string signature)
 {
     using (Store.Unlock())
     {
         return(Utf8.TryParse(message, out var messageBytes) &&
                Base58.TryParse(signature, Curve.SignaturePrefix, out var signatureBytes) &&
                Curve.Verify(messageBytes, signatureBytes, Store.Data));
     }
 }