Export GeneratePrivateKey and GeneratePublicKey

I need to be able to use an arbitrary private key and generate the public key for it. This exposes GeneratePublicKey and GeneratePrivateKey for this purpose.