Submitted by vgarramone on Sun, 05/23/2010 - 13:01
In RC4, the first 256 steps use the key to perform a transposition on an array of the bytes from 0 to 255. Ideally, a random key should result in a random distribution. However, the resulting distribution is far from random. This applet is running RC4 many times with different, random, 16-byte keys, and gives various statistics of transposition results.
Submitted by vgarramone on Fri, 05/21/2010 - 10:00
This applet shows a simple database that attempts to prevent users from querying sensitive information, in this case salaries by name. The only queries allowed are a list of names based on selected values for fields, and average salaries for the selected criteria. However, by structuring queries in a certain manner, sensitive information can be inferred from the results.
Exercises are conceptual, and do not require programming/SQL knowledge.