Merge pull request #7 from Ravenstine/keygen

server and javascript creates an array of shared keys for every characte...
javascript sends length of message to server and server creates private and public keys based on that length.