Hi guys,
I've been searching everywhere for this but can't find it anywhere. I'd like to verify a signed message's signature as being generated by a specific Bitcoin address using C#.
I'm not a strong crypto-coder so I was hoping for a pre-made solution, I found the code at
http://stackoverflow.com/a/20400041 though this only seems to verify that the signature is valid, not that it came from a specified address.
In essence, I am looking for a method like so
public static bool VerifySignature(string address, string message, string signature)
{
//jiggery pokery that likely uses the wonderful Bouncy Castle
return (Signature valid and generated by specified address)
}
I found similar tools that do this in Python but would really appreciate a C# method and I suspect many others will appreciate it too. Does anyone know where I should look? It's entirely possible I've just been using the wrong search terms in my hunt
Andy