I stumbled on a simple but somewhat impossible problem to solve. Given a bitcoin wallet's private and public key. How do I validate that these two match each other in pure web JavaScript? There seem to be a lot of older bitcoin libraries for nodejs but none seem to work reasonably in the browser.