|
|
|
|
23
|
}
|
23
|
}
|
24
|
|
24
|
|
25
|
/**
|
25
|
/**
|
26
|
- * To prevent anyone from reading our messages, we can encrypt it so it will not be readable by anyone except it
|
|
|
27
|
- * intended audience. This method encrypt the message by shifting the character by 3 characters. If the character is
|
|
|
|
|
26
|
+ * To prevent anyone from reading our messages, we can encrypt it so it will only be readable by its
|
|
|
27
|
+ * intended audience. This method encrypt the message by shifting the letter by 3 characters. If the character is
|
28
|
* at the end of the alphabet, it will wraps around.
|
28
|
* at the end of the alphabet, it will wraps around.
|
29
|
* For example:
|
29
|
* For example:
|
30
|
* 'a' => 'd'
|
30
|
* 'a' => 'd'
|