Added a function to generate pub/private key pairs