public void verify() { var result = RSATools.Verify(content, RSATools.Sign(content, privatekey, "utf-8"), publickey, "utf-8"); Console.WriteLine("verify=" + result); }
public void sign() { Console.WriteLine("sign=" + RSATools.Sign(content, privatekey)); }