1000003344.jpg

1000003345.jpg

  1. Choose any values for p and q, generate the RSA public and private keys, then encrypt the message 135 (in decimal), and finally decrypt it.
  2. Using the Feistel Cipher algorithm with message M={4,8}, subkey $K_i = 7$, and function F=⊕(XOR), please perform the encryption of the message and then decrypt it.
  3. Please draw a diagram to explain DES (Data Encryption Standard) in detail.
  4. Name at least two differences between DES and AES.
  5. Please explain the procedure how to generate the public key and private key?
  6. Write down how RSA encrypts and decrypts a message M with the encrypt-key (e,n) and decrypt-key(d, n).

中文

1000003580.jpg