How do you decode a binary string that is encrypted in ASCII??
Afficher commentaires plus anciens
binary code =00001011
1 commentaire
Jan
le 5 Nov 2012
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.
Réponses (1)
Walter Roberson
le 4 Nov 2012
bin2dec('00001011')
2 commentaires
Karen.k
le 4 Nov 2012
Walter Roberson
le 5 Nov 2012
char(bin2dec('00001011'))
Note: in this particular example, there is no printable glyph for the character; it is control-K
Catégories
En savoir plus sur Encryption / Cryptography dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!