Caesar cipher: Difference between revisions
m
→{{header|V (Vlang)}}
Hendursaga (talk | contribs) m (Fix misspellings of Caesar.) |
|||
Line 7,161:
import rand
const (
lo_abc = 'abcdefghijklmnopqrstuvwxyz'
up_abc = 'ABCDEFGHIJKLMNIPQRSTUVWXYZ'
Line 7,188 ⟶ 7,187:
if nchr > u8(122) {nchr -= 26}
}
else {nchr = chr}
chr_arr << nchr
}
|