How do you decode a binary string that is encrypted in ASCII??
이전 댓글 표시
binary code =00001011
댓글 수: 1
Jan
2012년 11월 5일
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.
답변 (1개)
Walter Roberson
2012년 11월 4일
bin2dec('00001011')
댓글 수: 2
Karen.k
2012년 11월 4일
Walter Roberson
2012년 11월 5일
char(bin2dec('00001011'))
Note: in this particular example, there is no printable glyph for the character; it is control-K
카테고리
도움말 센터 및 File Exchange에서 Encryption / Cryptography에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!