oldoc63 / learningFS

Web development back and front
0 stars 0 forks source link

A shift cipher takes a plain text message and shifts each letter forward in the alphabet by a given number. #1045

Open oldoc63 opened 2 years ago

oldoc63 commented 2 years ago

For example, a shift cipher with a shift of 1 would turn the string 'hello' to 'ifmmp'. Create a class ShiftCipher that takes the numerical value of the shift as a constructor parameter. The class should have to methods: