for my first quarter introduction to java class, i made a chat server + gui client, but for Q2, i want to make the messages encrypted....
so I thought of this:
have an RSA encryption work on a symmetrical key...
then use the key to encrypt messages w/ symmetric encryption...
change keys often.
I dont know how secure this is. my teacher worked for a certain government institution, and he got mad when i said i might use less than a 1024bit RSA key.
obviously for a chat server, encrypting every message with RSA is not practical, but symmetrical encryption probably would be. Thus i send the symmetrical key extremely encrypted with RSA, and then send all my messages not so encrypted, but change keys often.
i just dont know how secure it is because my teacher says unless it is 100%, then dont bother.
Of course, i could probably direct my own and my group's resources to other aspects of the chat program, such as networked games, and stuff like that.
so I thought of this:
have an RSA encryption work on a symmetrical key...
then use the key to encrypt messages w/ symmetric encryption...
change keys often.
I dont know how secure this is. my teacher worked for a certain government institution, and he got mad when i said i might use less than a 1024bit RSA key.
obviously for a chat server, encrypting every message with RSA is not practical, but symmetrical encryption probably would be. Thus i send the symmetrical key extremely encrypted with RSA, and then send all my messages not so encrypted, but change keys often.
i just dont know how secure it is because my teacher says unless it is 100%, then dont bother.
Of course, i could probably direct my own and my group's resources to other aspects of the chat program, such as networked games, and stuff like that.
Comment