posted 14 years ago
Hi,
I am new for security. I want to encrypt and decrypt sensitive information before storing in database using server certificate.
Right now i am encrypting and decrypting information using RSA algorithm and generating public and private key from KeyGenerator class..
But i dont know how to use certificate in code to encrypt and decrypt data. I have generated certificate using keytool.
if anybody can help me with code, then it will be great help for me.....
Thanks in andvance................