flattening
setting default key during createKeyPair()
showing public key after generation