Code Help for Encrypting cypher

How would you convert a message into numerical form using Cypher and loops. Once the message is converted to numerical form, reshaped it into matrix using reshape command. 50x50. Displaying the message to be encrypted and its numerical equivalent using display statements. Reading, the Original Message, Your Message, Numerical Message, Numerical message, Encoded Matrix, Encoded Numerical Matrix,

Risposte (1)

How would you convert a message into numerical form using Cypher and loops.
It is unlikely you would do that, at least not directly.
If the message is an audio file or a movie, you would read the audio or video from the file; when you did that, then what you would have in memory would already be numerical form.
If the message is a string object or character vector, you would typically start by extracting the characters and using uint8() on them. If the string object or character vector could contain characters with position beyond 255, you would commonly use unicode2native, such as
unicode2native('say Ȣ','utf8')

Categorie

Scopri di più su Convert Image Type in Centro assistenza e File Exchange

Tag

Richiesto:

il 20 Apr 2020

Risposto:

il 20 Apr 2020

Community Treasure Hunt

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

Start Hunting!

Translated by