(************************************************************************* * Encoding an ASCII text using a random encoding table * * ---------------------------------------------------------------------- * * The text to encode is in file codage.dat. * * The random encoding table is in file code.lst. * * The output encoded text is in file codage.lst. * * * * The text can be decoded by decodage.exe that must have access to * * code.lst and codage.lst files. * * ---------------------------------------------------------------------- * * SAMPLE RUN: * * File codage.dat contains: * * * * Program ASCII; * * Uses WincrtMy; * * * * VAR * * i: word; * * * * BEGIN * * for i:=160 to 255 do * * write(i:4,' ',chr(i)); * * Readkey; * * DoneWinCrt * * END. * * * * The output file code.lst contains: * * * * t!="1#h$y%X&''<(Q)?*W+7,g-Y.s/c061;2K3/425F6i758E9@:.;}0?w@(ATBHC * * uDpE[FZGRHVInJkK#LfMaNGOJP+QvR]S\TAUrVIWeXOY>Z4["\$]j^B_l`8amb{c,dSe|f * * %gUhxi*jMkDl_mzndoop9q&r`s3t-uNv~wqxCy:z^{)|P}b~ * * * * (! is coded t, " is coded =, # is coded 1, etc.) * * * * The output file codage.lst contains; * * * * J&d%&8_ (]HVV. * * A`S` Ixz{&3fC. * * * * r(v * * x@ ~d&,. * * * * TpZVa * * |d& x@L6Fc 3d ;22 ,d * * ~&x3S