crypt_final
def crypt_final(tuple)
Algorithm
The layout procedure to organise crypting results.
Parameters |
Type |
Description |
tuple |
tuple |
List couple representing the crypted strin and the associated key |
- Returns
str : The crypted list as a string with correct separators
Source Code
res = ''
sep = '!'
crypt=tuple[0]
key=tuple[1]
for i in range (0,len(crypt)):
res+=sep+str(crypt[i])
sep=cyclik_ascii(sep)
return res