Cybersecurity. Implement a programme code on JAVA (RSA method)
Task
1) Given the super increasing tuple b=[7,11,23,43,87,173,357], r=41 and modulus n =1001, encrypt and decrypt the letter a using the knapsack cryptosystem. Use [7 6 5 1 2 3 4 ]as permutation table
3) In order to understand the safety of the RSA algorithm, find d, if you know, that e = 17, and n=17