1 2 3
def rot_encode(s, offset=2) s.split('').map{ |char| (char.ord + offset).chr }.join end
Ruby rot encode
Rotation encoding with vari...
1 2 3
def rot_encode(s, offset=2) s.split('').map{ |char| (char.ord + offset).chr }.join end
Rotation encoding with vari...
You know what bob. You're r...