cryptography homeworks