code: private static char randomize253State(char ch, int codewordPosition) {
      int pseudoRandom = ((149 * codewordPosition) % 253) + 1;
      int tempVariable = ch + pseudoRandom;
      return (char) (tempVariable <= 254 ? tempVariable : tempVariable - 254);
    }
docs: /*
  public static byte[] getBytesForMessage(String msg) {
  return msg.getBytes(Charset.forName("cp437")); //See 4.4.3 and annex B of ISO/IEC 15438:2001(E)
  }