Skip to content

Latest commit

 

History

History
18 lines (9 loc) · 281 Bytes

README.md

File metadata and controls

18 lines (9 loc) · 281 Bytes

caesar-cipher

Caesar cipher is a common method used for encryption.

How to use?

Pass a string as the first parameter and an integer as shift parameter.

shift is the count of characters you want to shift

Example

translate('Abc', 1)

The result will be:

"Bcd"