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

Function encryptMessage

src/gamesbyexample/simplesubcipher.py:83–85  ·  view source on GitHub ↗

Encrypt the message using the key.

(message, key)

Source from the content-addressed store, hash-verified

81
82
83def encryptMessage(message, key):
84 """Encrypt the message using the key."""
85 return translateMessage(message, key, 'encrypt')
86
87
88def decryptMessage(message, key):

Callers 1

mainFunction · 0.70

Calls 1

translateMessageFunction · 0.70

Tested by

no test coverage detected