The following is the decryption code.
Well ,i want to use publickey to decrypt the contents which are
encrypted using privatekey in java programe.

FileSource privFile("publickey(13Sep).txt", true); 
RSAES_PKCS1v15_Decryptor rsaPriv(privFile);
StringSource(CipherTxt,
            128,
            true,
           new PK_DecryptorFilter(randompool,rsaPriv,new StringSink(output)));


-- 
RAGU MANDA

Reply via email to