homeworks cryptography