python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
ROT2 cipher resulting in different than expected characters when deciphered with Python
I was having fun solving the riddles from the Pythonchallenge website
when I stumbled upon a weird behaviour:
With this input:
*g fmnc wms bgblr rpylqjyrc gr zw fylb. rfyrq ufyr amknsrcpq ypc dmp. bmg...

apingaway
Votes: 0
Answers: 2
Caesar Cipher Not Encrypting
Not sure why my code is not encrypting the cipher properly
For example: "Hello how are you" is "2z669 29g vbz i9e" and my code will decrypt it just fine. If I attempt to encrypt it...
ImaginedTrain8
Votes: 0
Answers: 1
Caesar Cipher Translating Incorrectly
The Caesar Cipher offset is 21 and the alphabet is "abcdefghijklmnopqrstuvwxyz0123456789."
For example "Xvzcvb" Should be Equal to "Caesar", but instead, the output is &q...
GreatItalian
Votes: 0
Answers: 2
Trouble understanding Caesar decryption steps
The following code will decrypt a caesar encrypted string given the ciphertext and the key:
#include <iostream>
std::string decrypt(std::string cipher, int key) {
std::string d = "&quo...
Antonio Santoro
Votes: 0
Answers: 2