Programming assignment in Cryptography