MCPcopy Create free account
hub / github.com/subbarayudu-j/TheAlgorithms-Python / encryptMessage

Function encryptMessage

ciphers/vigenere_cipher.py:19–24  ·  view source on GitHub ↗

>>> encryptMessage('HDarji', 'This is Harshil Darji from Dharmaj.') 'Akij ra Odrjqqs Gaisq muod Mphumrs.'

(key, message)

Source from the content-addressed store, hash-verified

17 print(translated)
18
19def encryptMessage(key, message):
20 '''
21 >>> encryptMessage('HDarji', 'This is Harshil Darji from Dharmaj.')
22 'Akij ra Odrjqqs Gaisq muod Mphumrs.'
23 '''
24 return translateMessage(key, message, 'encrypt')
25
26def decryptMessage(key, message):
27 '''

Callers 1

mainFunction · 0.70

Calls 1

translateMessageFunction · 0.70

Tested by

no test coverage detected