Encryption and Decryption of Image file using AES and RSA
Can anyone help me with Encryption and Decryption of Image,Text,PDF,Word files using RSA algorithm with time and memory usage in asp.net c#??
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Marvin ReidPosted Nov 5, 2020, 10:53 AM
You can try using the LEADDocument class from the LEADTOOLS SDK as it supports both the loading of encrypted files and decryption. The PDFSecurityOptions class will let you apply encryption to your PDF documents. When loading in the document that is encrypted, you can add a check in your application to handle the loading and decrypting of your files:
using (var document = DocumentFactory.LoadFromFile(Path.Combine(ImagesPath.Path, "Protected.pdf"), options))
{
if (document.IsEncrypted && !document.IsDecrypted)
{
Console.WriteLine("Encrypted Document, decrypting it...");
// Decrypt it now
document.Decrypt("password");
}
}
https://www.leadtools.com/help/sdk/v21/dh/dox/leaddocument-isencrypted.html
https://www.leadtools.com/help/sdk/v21/dh/to/loading-encrypted-files-using-the-document-library.html
https://www.leadtools.com/help/sdk/v21/dh/dox/loaddocumentoptions-password.html
https://www.leadtools.com/help/sdk/v21/dh/pdf/pdfsecurityoptions.html
Alex DsouzaPosted Mar 30, 2020, 5:21 AM
Jignesh KumarPosted Mar 30, 2020, 3:57 AM
Alex DsouzaPosted Mar 30, 2020, 3:42 AM
Alex DsouzaPosted Mar 29, 2020, 7:25 AM
Jignesh KumarPosted Mar 29, 2020, 12:57 AM
Alex DsouzaPosted Mar 28, 2020, 11:20 AM
Alex DsouzaPosted Mar 28, 2020, 4:05 AM
Rajanikant HawaldarPosted Mar 28, 2020, 12:22 AM
Alex DsouzaPosted Mar 27, 2020, 12:43 PM
Vinay SinghPosted Mar 27, 2020, 12:16 PM