MCPcopy Create free account
hub / github.com/asweigart/PythonStdioGames / decryptMessage

Function decryptMessage

src/gamesbyexample/simplesubcipher.py:88–90  ·  view source on GitHub ↗

Decrypt the message using the key.

(message, key)

Source from the content-addressed store, hash-verified

86
87
88def decryptMessage(message, key):
89 """Decrypt the message using the key."""
90 return translateMessage(message, key, 'decrypt')
91
92
93def translateMessage(message, key, mode):

Callers 1

mainFunction · 0.70

Calls 1

translateMessageFunction · 0.70

Tested by

no test coverage detected