Featured post
java - RSA Decryption using PrivateKey in pem format -
i'm newbie cryptographic area. here problem:
i need decrypt cipher text(encrpyted rsa-public key) using privatekey in "privatekey.pem" format. not know has been encrypted whether password based or anyother methods, rsa based encryption. there way decrypt cipher text? hope understand query if doubts pls post me explain clearly. request post ways possible using java ...
assymmetric encryption works on principle need 1 of 2 keys encrypt data , other 1 decrypt it. in case how work:
- generate key pair: 1 private key, 1 public key
- give public key else, have him/her encrypt message it. 1 can read message private key (no password involved).
so thing need private key.
this means need store private key somewhere. security reasons, private key encrypted triple des (which symmetric). in case, encrypt private key triple des password. after have decrypted private key, can use decrypt message encoded encoded public key.password , need password decrypt private key. how works in apache ssl.
- Get link
- X
- Other Apps
Comments
Post a Comment