furkanozev / monoalphabetic-cipher-decoder Goto Github PK
View Code? Open in Web Editor NEWMonoalphabetic Cipher and Decoder in Common Lisp
Monoalphabetic Cipher and Decoder in Common Lisp
3 test files were prepared for the program. These test files are document1.txt, document2.txt and document3.txt. You can run the program with any of these test files. If you want change test file, You need to modify the document file name in the "test_on_test_data ()" function. Dictionary file is dictionary2.txt. This dictionary is the largest dictionary and contains about 45 thousand words. Test documents are prepared according to this dictionary. You can run the program with other dictionary and document files. If you want change dictionary and document file, You need to modify the dictionary and document file name in the "test_on_test_data ()" function. !!! If you are going to try your own test file, there are a few things to consider: !!! The high number of words increases the accuracy. So keep as many words as possible. Having different lengths of words speeds up the program's work. For example, you can have some short words. For Gen-Decoder functions to work properly, all the encrypted words must be in the dictionary. For Gen-Decoder-B functions to work correctly, the file must be prepared in accordance with the frequency analysis. The most frequent six letters of file must be (in the correct order) 'e', 't', 'a', ‘o’, ‘i’ and ‘n’. There should be certainty about the six most letters, because some equality can lead to wrong results. Because there are too many words in the dictionary, there may be more than one appropriate result for the Gen-Decoder-B-1 function. For example, it print "poker" instead of "joker" for only 1 word in paragraph. Only the first result of appropriate results will be printed on the screen. This does not indicate that the function was operating incorrectly. You can see the paragraph by opening the file. The paragraph is randomly encrypted within the program. There are test functions. It will not work unless you call. Function calls are in the comment line at the bottom. You can use these functions to configure and test your own test cases. You can get an idea of the algorithm by reading the comment lines. FURKAN OZEV 161044036
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.