cancel
Showing results for 
Search instead for 
Did you mean: 

Decrypt the file manually

Former Member
0 Kudos

Hi Experts,

I want to decrypt the file manually to check if my Private Key & Pass Phrase are working fine. Is it possible ? I have my own Public key & Private Key.

Accepted Solutions (0)

Answers (2)

Answers (2)

Muniyappan
Active Contributor
0 Kudos

You can do the encryption and decryption using java program by reading your public and private key. if you can get the private key and public key objects, then it is easy to do encryption and decryption.

https://stackoverflow.com/questions/11410770/load-rsa-public-key-from-file

https://gist.github.com/dmydlarz/32c58f537bb7e0ab9ebf

https://www.devglan.com/java8/rsa-encryption-decryption-java

PavanKumar
Active Contributor
0 Kudos

Hi,

So, if you want to check your private key working or not internally.

create a scenario SFTP to SFTP where in sender SFTP configure encrypt modules using yours actual public key,at receiver SFTP configure the decrypt PGP modules where give your actual private key name to check decryption.

Regards

Pavan