3
I tried looking through the Satoshi Client to grab the necessary code. It ended up being too difficult for me as my expertise is not in C or C variants. And the fact that the code use boost made it that much more difficult. Is their a code snippet out there that does not rely on any external libraries except for maybe the SHA256 hash function?
And just to clarify, this isn't validating that an address is one generated by any bitcoin client just that it is an address that could be a valid Bitcoin address derived from a public key. There are Bitcoin addresses that pass this test for which there is no private key and/or no public key. – Stephen Gornick – 2013-04-15T08:56:23.477
You can't validate that a private key exists for a public key. Therefore, complete validation of an address shouldn't be possible. – Charles Hoskinson – 2013-04-18T07:52:24.330