generateKeyPair removed
Removed unused code.