Key generating finished

untested key generate