http://www.perlmonks.org?node_id=141645


in reply to Re: Reversible per-line "encryption"
in thread Reversible per-line "encryption"

Yeah, this is probably something along the lines of what we'll need to do.

Unfortunately, it's not a question of "the datacenter". Rather, it's a separate company that's providing data to us (and then we will have sub-contracts with other companies to do some of the servicing, but not all). We need to be able to demonstrate (should anyone ever ask) that the data we're providing to our subs is not plain-text readable by anyone here.

We don't have to say that we couldn't read it if we wanted to. We just say that we've got a Standard Operating Procedure (SOP) that says that we don't decrypt data which isn't for us. Hence, we're not particularly concerned with "stare-ability" - just the ciphering.

Btw, that was why I had the (subtle) invitation to golf a ciphering/deciphering algorithm which allowed for different "salts".

  • Comment on Re: Re: Reversible per-line "encryption"

Replies are listed 'Best First'.
Re: Re: Re: Reversible per-line "encryption"
by xtype (Deacon) on Jan 26, 2002 at 01:38 UTC
    Non the less, you would think it up to the person providing the data.

    Btw, that was why I had the (subtle) invitation to golf a ciphering/deciphering algorithm which allowed for different "salts".

    Never used golf before… but something else that might work is to use the Xor operator. If you Xor something twice you get the original value.
    my $passphrase = "I love group ABC"; … $text ^= $passphrase; $line = $groupID . "\|" . $text; print "$line\n"; … if($group eq $myGroup) { $data ^= $passphrase; } print "$data\n";
    Read that in a Steven Holznar book ...I think.
    update: Although that may be less obscure than my first idea.