Borrar filtros
Borrar filtros

How can I encrypt a text file using RSA?

7 visualizaciones (últimos 30 días)
Sanjeeb Behera
Sanjeeb Behera el 16 de Sept. de 2016
Comentada: Walter Roberson el 16 de Sept. de 2016
I have done encryption of text message using RSA. But i want to encrypt text file using RSA.
m=input('\nEnter the message: ','s');
In above code i give the text message in S. But i want to read a text file instead of text message. How can i do that? Pls can anyone give me help or code which can i write?
  3 comentarios
Sanjeeb Behera
Sanjeeb Behera el 16 de Sept. de 2016
Thank u for ur response. Can i encryption and decryption of text file using RSA?

Iniciar sesión para comentar.

Respuestas (1)

Walter Roberson
Walter Roberson el 16 de Sept. de 2016
m = fileread('NameOfInputFileGoesHere.txt');

Categorías

Más información sobre Encryption / Cryptography en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by