I have very little experience in programming is primarily a Hobi.
My problem is: I have to get a text ("text1") and through a public key (attached - Publickeyssh2.txt) encrypt (HASH), and paste the result in another text box ("Hash" ).
After this operation, I have yet to take that ciphertext ("Hash") and decrypt another text box ("text2"), using the private key attached (Privatkeyssh2.txt).
The private key has the following rules:
The RSA algorithm should be used with the following specifications on the parameters:
• Format = x.509
• charset = UTF-8
• Base-64 Encoding =
• endianess = Little Endian
• OAEP Padding = padding PKCS1 v1.5
• Size of the private key bits = 1024
• Format of the message Hash = SHA-2
I have attached an example