Hi guys. Could you please translate this pseudocode to php?
Its meant to be for a Caesar cipher that moves each letter in the string +3 steps. Ok, here's the pseudocode:
function myShift (var offset) {
var string = STRING_FROM _BROWSER;
var newString
for (each character in string)
newString .= STRING_FROM_BROWSER[position] + offset
}
Thank you!
Its meant to be for a Caesar cipher that moves each letter in the string +3 steps. Ok, here's the pseudocode:
function myShift (var offset) {
var string = STRING_FROM _BROWSER;
var newString
for (each character in string)
newString .= STRING_FROM_BROWSER[position] + offset
}
Thank you!