Sending Messages, fixed keygenerator