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

Function decryptMessage

ciphers/vigenere_cipher.py:26–31  ·  view source on GitHub ↗

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

(key, message)

Source from the content-addressed store, hash-verified

24 return translateMessage(key, message, 'encrypt')
25
26def decryptMessage(key, message):
27 '''
28 >>> decryptMessage('HDarji', 'Akij ra Odrjqqs Gaisq muod Mphumrs.')
29 'This is Harshil Darji from Dharmaj.'
30 '''
31 return translateMessage(key, message, 'decrypt')
32
33def translateMessage(key, message, mode):
34 translated = []

Callers 1

mainFunction · 0.70

Calls 1

translateMessageFunction · 0.70

Tested by

no test coverage detected