C# ... Encryption & decryption RSA 2048
Posted on 2016-10-27
#Encryption & decryption RSA 2048
I want to encrypt the text typed by user from text box and then encrypt that text by using public key and save to db as cypher text. at that time private key to decrypt that cypher text has been generated at the same time. that generated private key is the only one that can decrypt the text .... later I retrive that cypher text from another page and need to decrypt that cypher text to original text using private key ... in this case ..., Where can I get the private key at that time.. and how can I do... anyone help me... pls thanks ... It means encryption and decryption is not occured at the same time...