stringio encryption method added