10th April 2008

Java Cryptography Compatibility

One relatively standard way to identify someone is to generate a small token which you can give to them, and which they can later give back to you. This is a classic “user cookie” scenario. The ID could be any data which is unique, but it should also be hard fake - you shouldn’t be able to guess one from scratch, nor to change an existing ID slightly to get someone else’s ID. One standard way to do this is to encrypt a sequential user ID. While almost all languages offer some form of encryption, it can be tricky to get encryption working between platforms. To find ou

Read the rest of this entry »

posted in Java, Security | 0 Comments