Question: 1 Task One. Implementation of Trapdoor Knapsack En- cryption Scheme (2 marks) In this section, you are to implement a trapdoor knapsack encryption scheme. When

 1 Task One. Implementation of Trapdoor Knapsack En- cryption Scheme (2

1 Task One. Implementation of Trapdoor Knapsack En- cryption Scheme (2 marks) In this section, you are to implement a trapdoor knapsack encryption scheme. When the program is run, it first asks for the size of the super-increasing knapsack, then the user is asked to enter the value of each a; in the private key. Then, the user is asked to enter a modulus, follows by a multiplier. You will need to check whether condition of the multipllier is satisfied. Then, the public key will be generated and shown. Now, a set of message is being asked, and the ciphertext will need to be displayed. Finally, a ciphertext will need to be asked and the correct decryption of the ciphertext will need to be displayed. Implement this part as knapsack.cpp or knapsack.java

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!