Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/subbarayudu-j/TheAlgorithms-Python
/ getRandomKey
Function
getRandomKey
ciphers/simple_substitution_cipher.py:65–68 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
63
return
translated
64
65
def
getRandomKey():
66
key = list(LETTERS)
67
random.shuffle(key)
68
return
''
.join(key)
69
70
if
__name__ ==
'__main__'
:
71
main()
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected