Encrypted string in Python

CSDN Q & A 2022-01-15 02:40:22

Implement an encryption function easyCrypto(), With two input parameters : A string to be encrypted , One 3 The secret key of a digit string , Output ciphertext .
Encryption rules : For the first letter that appears , Transform by the letter after the first number , The second letter appears according to the second number , The third letter appears according to the third number , The fourth letter appears according to the first number , And so on , Characters other than letters remain unchanged .
On the first line, enter the string to be encrypted Second line input 3 Bit number string


thank
Similar articles

2022-01-15

2022-01-15