Used loops for iterations rather than hardcoded steps.
This commit is contained in:
13
README.md
13
README.md
@@ -4,8 +4,15 @@ Recreates the functionality of the Enigma Machine from World War II.
|
||||
## Usage
|
||||
`uv run main.py [0-58] [0-58] [0-58] '[message]' 'e|d' [int]`
|
||||
|
||||
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)
|
||||
|
||||
## Examples
|
||||
`uv run main.py 32 15 1 'This is a test.' 'e' 3`
|
||||
|
||||
`uv run main.py 32 15 1 'This is a test.' 'e'`
|
||||
|
||||
`uv run main.py 32 15 1 'Uijt!jt!b!uftu' 'd'`
|
||||
`uv run main.py 32 15 1 'Uijt!jt!b!uftu' 'd' 3`
|
||||
|
||||
Reference in New Issue
Block a user