Cryptography Homework