Character/ symbol frequency distribution analaysis on vintage ciphers

버전 1.0.0.0 (93.1 KB) 작성자: Michael Chan
Demonstrates character/ symbol frequency distribution analysis
다운로드 수: 640
업데이트 날짜: 2011/9/20

라이선스 보기

The objective is to demonstrate character/ symbol frequency distribution analysis (reference to the English language) on 2 vintage ciphers, namely Caesar cipher (a mono-alphabetic substitution cipher) and the Vigenere cipher (a poly-alphabetic substitution cipher).

Under the symbol frequency distribution analysis, the statistical characteristic of the language is still observable from the cipher text from the Caesar cipher, this give leads to breaking the code by remapping it to the possible substituted symbols. However, under the Vigenere cipher, such statistical characteristic has been modified in the cipher text to deter the same remapping recovery of the plain text message.

main executing reference usages:
1. usage_charFrequencyHistogram.m : no ciphering, just observation of plaintext distribution

2. usage_caesarCipher.m : Caesar cipher, standalone - text imput
3. usage_caesarCipherWithGraphPlot.m : Caesar cipher, with file input and graph plot of ciphered and deciphered (plaintext) distribution

usage_vigenereCipher.m : Vigenere cipher, standalone - text imput
usage_vigenereCipherWithGraphPlot.m : Vigenere cipher, with file input and graph plot of ciphered and deciphered (plaintext) distribution

* Caveat:
1. The vintage ciphers is not relevant for application of today's security solutions, however, they are still valuable to serve as basic examples for cryptanalysis.
2. For reference only.

If the illustrative demo has more elegant presentation, please do not hesitate to suggest and send feedback to the author.
Email: promethevx@yahoo.com.

Thank you.

Regards,
Michael Chan JT

인용 양식

Michael Chan (2024). Character/ symbol frequency distribution analaysis on vintage ciphers (https://www.mathworks.com/matlabcentral/fileexchange/32955-character-symbol-frequency-distribution-analaysis-on-vintage-ciphers), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2008a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Encryption / Cryptography에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0