Open DASH0070 opened 2 years ago
Original Message: hello how are you. Key: 4 Encrypted Message: lipps lsa evi csy
Original Message: rohan. Key: 4 Encrypted Message: vsler
Normal text : string key : number
caeser cipher text : string
complete the function converToCaeserCipher
Example 1
Original Message: hello how are you.
Key: 4
Encrypted Message: lipps lsa evi csy
Example 2
Original Message: rohan.
Key: 4
Encrypted Message: vsler
Function Description
Parameters:
Normal text : string
key : number
Return:
caeser cipher text : string