this is the homework of Cryptography， and I have completed it.