in reply to Re: encryption golf (one time pad)
in thread encryption golf (one time pad)

You should test your claims before contradicting someone.
>echo abc>corpus >echo def>key >perl -e"undef$/;print<>^<>" corpus key >enc >debug enc -rcx CX 0004 : -d100 l4 0AFB:0100 05 07 05 00 .... -q >perl -e"undef$/;print<>^<>" enc key >dec >type dec abc

Updated test to include decrpytion.

Replies are listed 'Best First'.
Re^3: encryption golf (one time pad)
by jwkrahn (Abbot) on Mar 17, 2008 at 09:31 UTC

    I did test and I don't get anything resembling crypto.

      What Perl did you use?
      The OP's code works fine for me with:
      5.8.4 on FreeBSD
      5.6.0 on WinXP (ActivePerl build 623)
      5.6.1 on WinXP (ActivePerl build 635)
      5.8.0 on WinXP (ActivePerl build 806)
      5.8.8 on WinXP (ActivePerl build 817)
      5.10.0 on WinXP (ActivePerl build 1001)