From owner-freebsd-chat Thu Mar 15 14:10:56 2001 Delivered-To: freebsd-chat@freebsd.org Received: from riker.skynet.be (riker.skynet.be [195.238.3.132]) by hub.freebsd.org (Postfix) with ESMTP id B6AA437B766 for ; Thu, 15 Mar 2001 14:10:52 -0800 (PST) (envelope-from brad.knowles@skynet.be) Received: from [194.78.241.123] ([194.78.241.123]) by riker.skynet.be (8.11.2/8.11.2/Skynet-OUT-2.11) with ESMTP id f2FMAJT27161; Thu, 15 Mar 2001 23:10:23 +0100 (MET) (envelope-from ) Mime-Version: 1.0 X-Sender: bs663385@pop.skynet.be Message-Id: In-Reply-To: <20010315145452.C33560@lpt.ens.fr> References: <200103141336.f2EDaZ215574@ns1.unixathome.org>; <20010314153955.A17985@rapier.smartspace.co.za> <200103141342.f2EDga215670@ns1.unixathome.org> <20010314154654.A18459@rapier.smartspace.co.za> <20010315145452.C33560@lpt.ens.fr> Date: Thu, 15 Mar 2001 22:58:11 +0100 To: Rahul Siddharthan From: Brad Knowles Subject: Re: signature (was Re: copyright issues regarding FreeBSD ISOs/CDs) Cc: Neil Blakey-Milner , Dan Langille , freebsd-chat@FreeBSD.ORG Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At 2:54 PM +0100 3/15/01, Rahul Siddharthan wrote: > Speaking of signatures... have you seen this one? Declan McCullough popularized it in his Wired article at , and he posted information on this to the DC-CypherPunks mailing list, of which I am a member. > Also from > Touretzky's site, and apparently very fast -- faster than the spec > allows for. Cool! I'll have to take a look at that again. -- Brad Knowles, #!/usr/bin/perl -w # 531-byte qrpff-fast, Keith Winstein and Marc Horowitz # MPEG 2 PS VOB file on stdin -> descrambled output on stdout # arguments: title key bytes in least to most-significant order # Usage: # qrpff 153 2 8 105 225 /mnt/dvd/VOB_FILE_NAME | extract_mpeg2 | mpeg2_dec - $_='while(read+STDIN,$_,2048){$a=29;$b=73;$c=142;$t=255;@t=map{$_%16or$t^=$c^=( $m=(11,10,116,100,11,122,20,100)[$_/16%8])&110;$t^=(72,@z=(64,72,$a^=12*($_%16 -2?0:$m&17)),$b^=$_%64?12:0,@z)[$_%8]}(16..271);if((@a=unx"C*",$_)[20]&48){$h =5;$_=unxb24,join"",@b=map{xB8,unxb8,chr($_^$a[--$h+84])}@ARGV;s/...$/1$&/;$ d=unxV,xb25,$_;$e=256|(ord$b[4])<<9|ord$b[3];$d=$d>>8^($f=$t&($d>>12^$d>>4^ $d^$d/8))<<17,$e=$e>>8^($t&($g=($q=$e>>14&7^$e)^$q*8^$q<<6))<<9,$_=$t[$_]^ (($h>>=8)+=$f+(~$g&$t))for@a[128..$#a]}print+x"C*",@a}';s/x/pack+/g;eval To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message