2025-09-04 12:52:37 -04:00
|
|
|
# Enigma Machine
|
2025-09-17 04:35:19 -04:00
|
|
|
Recreates the functionality of the Enigma Machine from World War II.
|
|
|
|
|
|
2025-10-26 11:40:29 -04:00
|
|
|
## Usage
|
|
|
|
|
`uv run main.py [0-58] [0-58] [0-58] '[message]' 'e|d' [int]`
|
|
|
|
|
|
2025-10-26 12:14:17 -04:00
|
|
|
Where:
|
|
|
|
|
- 0-58 [integer] is the first seed value
|
|
|
|
|
- 0-58 [integer] is the second seed value
|
|
|
|
|
- 0-58 [integer] is the third seed value
|
|
|
|
|
- message is the message to be encrypted/decrypted
|
|
|
|
|
- e|d is the direction of the message (encrypt or decrypt)
|
|
|
|
|
- int is the number of iterations to be made (not yet implemented)
|
2025-10-26 11:40:29 -04:00
|
|
|
|
2025-10-26 12:14:17 -04:00
|
|
|
## Examples
|
|
|
|
|
`uv run main.py 32 15 1 'This is a test.' 'e' 3`
|
2025-10-26 11:40:29 -04:00
|
|
|
|
2025-10-26 12:14:17 -04:00
|
|
|
`uv run main.py 32 15 1 'Uijt!jt!b!uftu' 'd' 3`
|