neerajnanvani / PracticeGitAndJs

Its an practice repo to create pull request and use more github features
0 stars 10 forks source link

Implement Caeser cipher on string #15

Open DASH0070 opened 2 years ago

DASH0070 commented 2 years ago

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