Resending on a PC… Outlook for OSX gave me the funny font. Apologies to all who can’t stand Comic Sans-like rendering on a PC
Hello, The Bitcoin QT client allows me to sign a message, and extract a public key from that signature itself. I am supposed to then hash this signature in Base58Checked format and then extract the key. The code to extract the key from a signature is here http://stackoverflow.com/a/20000007/328397 The code to get the Base58 address is on the same page, or just paste the extracted public key here: http://gobittest.appspot.com/Address Since I know the Base58Checked encoder works as intended, and it appears the key extraction code works as well, I suspect it may be how I知 presenting the Endian that I知 presenting Q to the hash utility, or even an encoding bug, Here are some tests from the Bitcoin QT client that produce valid results in the client, but I can稚 get it to work in C#: Sig ICHD2obqklY8dVBvjwwiDL3c7QkOnOif0tRlbcM+uk7vnuA0LZu6mVsKMx3Nvk7vdiV28cHO7IRuqXwzO3A3m3A= Message test123 Hashed Public key - 15NGbNHePvuxKJrSV7Qy7Z9pKjxJDo39nV Sig: IEMtA9uGW2x70/qxAaPuE4Fb/H5+Dq+bl0UyMHZXoO7SX4vfXQcg22VafERUMTT5AfpXbTesAk5NSYnPVYulrTM= Message test123 Hashed Public Key - 191FLr28ee3ahg3yDJDLzoS9jfjUvDouzL Any assistance would be appreciated. From: Mankowski, Chris [mailto:cmankow...@nfp.com] Sent: Wednesday, December 04, 2013 12:49 PM To: Peter Dettman; Bouncy Castle Developer List Subject: [dev-crypto-csharp] Trouble validating a Bitcoin Signature. Issue with GetEncoded? Hello, The Bitcoin QT client allows me to sign a message, and extract a public key from that signature itself. I am supposed to then hash this signature in Base58Checked format and then extract the key. The code to extract the key from a signature is here http://stackoverflow.com/a/20000007/328397 The code to get the Base58 address is on the same page, or just paste the extracted public key here: http://gobittest.appspot.com/Address Since I know the Base58Checked encoder works as intended, and it appears the key extraction code works as well, I suspect it may be how I知 presenting the Endian that I知 presenting Q to the hash utility, or even an encoding bug, Here are some tests from the Bitcoin QT client that produce valid results in the client, but I can稚 get it to work in C#: Sig ICHD2obqklY8dVBvjwwiDL3c7QkOnOif0tRlbcM+uk7vnuA0LZu6mVsKMx3Nvk7vdiV28cHO7IRuqXwzO3A3m3A= Message test123 Hashed Public key - 15NGbNHePvuxKJrSV7Qy7Z9pKjxJDo39nV Sig: IEMtA9uGW2x70/qxAaPuE4Fb/H5+Dq+bl0UyMHZXoO7SX4vfXQcg22VafERUMTT5AfpXbTesAk5NSYnPVYulrTM= Message test123 Hashed Public Key - 191FLr28ee3ahg3yDJDLzoS9jfjUvDouzL Any assistance would be appreciated. ________________________________ This e-mail may contain information that is privileged, confidential or protected under state or federal law. If you are not an intended recipient of this email, please delete it, notify the sender immediately, and do not copy, use or disseminate any information in the e-mail. Pursuant to IRS Circular 230, any tax advice in this email may not be used to avoid any penalties imposed under U.S. tax laws. E-mail sent to or from this e-mail address may be monitored, reviewed and archived.