![]() Im not sure how to move forward, im totally stuck.Īny advice? here is the code. ![]() I have only managed to encrypt the message with AES, i have also encrypted the AES key with RSA public key but i cant seem to get the decrytion to work, in other words to decrypt that message with the private key. The formula to Encrypt with RSA keys is: C ipher Text ME MOD N If we plug that into a calculator, we get: 9929 MOD 133 92 The result of 92 is our Cipher Text. And in the end decrypt the message with the RSA private key. I then wanna encrypt a msg with the AES key and then encrypt that AES key with the RSA public key. RSA Decryption Finally, decrypt the message using using RSA-OAEP with the RSA private key: Run decryptor PKCS1OAEP. So to explain what i need to do in this programme, is to create an AES key and a private and public key using RSA algorithm. All you need is integer arithmetic mainly modular exponentiation. ![]() I am about to break down and cry and therefor after almost weeks of trying to understand and solve this i now need a little push into the right direction. Example 1 Using own RSA implementation in ABAP.
0 Comments
Leave a Reply. |