Added pub/priv key pair generation