To learn cryptography http://cryptopals.com/sets/1/challenges/1/