Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ enigma_machine.py
File
enigma_machine.py
hashes/enigma_machine.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
alphabets = [chr(i)
for
i in range(32, 126)]
2
gear_one = list(range(len(alphabets)))
3
gear_two = list(range(len(alphabets)))
4
gear_three = list(range(len(alphabets)))
Callers
nothing calls this directly
Calls
2
rotator
Function · 0.85
engine
Function · 0.85
Tested by
no test coverage detected