How do you decode a binary string that is encrypted in ASCII??

binary code =00001011

1 comentario

The question does not contain enough information: There is an infinite number of possible encryption methods. Therefore 0001011 could be any letter. Perhaps you mean "encoded" instead of "encrypted". But even then it is not uniquely defined, which "letter" corresponds to the number 11 (binary 1011). So please provide any details.

Iniciar sesión para comentar.

Respuestas (1)

bin2dec('00001011')

2 comentarios

This gives me a number but I am looking for a letter.
char(bin2dec('00001011'))
Note: in this particular example, there is no printable glyph for the character; it is control-K

Iniciar sesión para comentar.

Categorías

Más información sobre Encryption / Cryptography en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 4 de Nov. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by