Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jacobpclouse/526-hw-1-cipher
My own cryptographic cipher based off of the 1st homework issued - 526 Cryptography - Spring 2023
https://github.com/jacobpclouse/526-hw-1-cipher
Last synced: 4 days ago
JSON representation
My own cryptographic cipher based off of the 1st homework issued - 526 Cryptography - Spring 2023
- Host: GitHub
- URL: https://github.com/jacobpclouse/526-hw-1-cipher
- Owner: jacobpclouse
- Created: 2023-01-26T21:00:37.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-16T14:35:04.000Z (over 1 year ago)
- Last Synced: 2024-02-14T14:37:28.876Z (9 months ago)
- Language: Python
- Size: 1.05 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 526-HW-1-Cipher
> My own cryptographic cipher based off of the 1st homework issued - 526 Cryptography - Spring 2023
> Video walkthrough of this code: https://youtu.be/ZLbgEE1HJHE## Objectives for this Homework:
Design and implement your own (new) encryption scheme that uses the three operations widely used in classical cryptography: *Substitution*, *Transposition* and *Product*.Provide a description of your algorithm and justify the choice of steps and operations used in the algorithm.
[3+2 = 5 points]In addition, show that:
- * (a) breaking your algorithm is going to require coding effort (i.e., your algorithm cannot be broken by using pen and paper). [1.5 points]- * (b) your algorithm is secure against any two cryptanalytic attacks. [1.5 points]
## My Idea:
I want to create something unique that uses random/psuedo random input to 'salt' the password in a way that is very hard to break. I'm thinking of writing one substitution cipher, then a transposition cipher and then trying to combine the two into a final cipher (and add in some extras to spice it up).
- [x] I want these written in: ![Python](https://img.shields.io/badge/Python-14354C?style=for-the-badge&logo=python&logoColor=white)
- [x] Substitution cipher draft has been finished
- [x] Transposition cipher draft has been finished
- [x] Combine both programs into the final program
- [x] Make it uncrackable: Add a random salt to the cipher that prevents freqency analysis (and doesn't make decryption impossibles) - added One Time Pad
- [x] Create video to display how the program works## Resources used:
- Basic writing and formatting syntax Github Markdown: https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax
- Difference between Substitution Cipher Technique and Transposition Cipher Technique: https://www.geeksforgeeks.org/difference-between-substitution-cipher-technique-and-transposition-cipher-technique/
- Encyclopaedia Britannica Definitions:
- * Substitution cipher: https://www.britannica.com/topic/substitution-cipher
- * Transposition cipher: https://www.britannica.com/topic/transposition-cipher
- * Product cipher: https://www.britannica.com/topic/product-cipher
- Python List append(): https://www.programiz.com/python-programming/methods/list/append
- Python String lower() Method: https://www.geeksforgeeks.org/python-string-lower/
- Python | Check if a variable is string: https://www.geeksforgeeks.org/python-check-if-a-variable-is-string/
- How to Write String to Text File in Python?: https://pythonexamples.org/python-write-string-to-text-file/
- Python For loop get index: https://stackoverflow.com/questions/15684605/python-for-loop-get-index
- How to test that variable is not equal to multiple things?: https://stackoverflow.com/questions/12553609/how-to-test-that-variable-is-not-equal-to-multiple-things
- How to Convert List to String in Python?: https://www.simplilearn.com/tutorials/python-tutorial/list-to-string-in-python#:~:text=To%20convert%20a%20list%20to%20a%20string%2C%20use%20Python%20List,and%20return%20it%20as%20output.
- Generating random number list in Python: https://www.tutorialspoint.com/generating-random-number-list-in-python
- Python ord() Function: https://www.w3schools.com/python/ref_func_ord.asp
- Cryptanalysis and Types of Attacks: https://www.geeksforgeeks.org/cryptanalysis-and-types-of-attacks/