Obtain the string you want to encode and read the string character by character. Add x (where 0<x<25) to each character (chars can be added with integers).