Article View: alt.privacy.anon-server
Article #8476Re: How protect HDisk against Customs when entering Great Britain
From: Anonymous
Date: Wed, 10 Nov 1999 00:00
Date: Wed, 10 Nov 1999 00:00
58 lines
2661 bytes
2661 bytes
Whistler@nym.alias.net wrote:
:
: On Sun, 7 Nov 1999 20:54:55 -0500 (EST) Anonymous <nobody@replay.com> wrote:
:
: >Convert the encrypted volume to ebcidic, then use a simple XOR encryption
: >scheme on it, rename it to FILE0001.CHK, and explain to them how scandisk
: >created that file after a Java app blue screened your computer.
:
:
: Sounds plausible. But what is an "ebcidic" volume, please? And where would
: we find such an XOR encryption scheme?
:
:
: Whistler
Ebcdic is just a character representation where the characters have
different ordinal values. Native to some IBM machines, if you downloaded
what appears to be a text file to your PC, it would be jibberish, but
just be a Caesarean transform.
The XOR encryption scheme is really not an encryption scheme, but an
obfuscation scheme. You just generate a parity from data and an arbitrary
string of characters and discard the data afterwards. Something like this:
#include <stdio.h>
#include <string.h>
#include <pwd.h>
#include <unistd.h>
main()
{
int cin,
cout,
len,
i;
char *key;
key = getpass("Enter string: ");
while ((cin = getchar()) != EOF) {
cout = cin;
for (i = 0; i < len; ++i)
cout = cout ^ key[i];
putchar(cout);
}
}
If you obfuscate enough, it could become secure. Zip it, convert it
to ebcdic, then run it thru a program like the one above. Convert
to ebcdic again, XOR again, then ebcdic, zip, ebcdic... The data
becomes somewhat encrypted, the key being the sequence of operations
you perform on the data.
I keep the above code snippet in my head for such purposes.
Technical Details
Message-ID:
<eb1f350e8034fcbc73067b1158a7153f@replay.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.security.pgp.tech.mbox.zip!not-for-mailReferences:
<38263802.3007784@news.demon.co.uk> <5fdfec5cb98c9f320fe47762669189cd@replay.com> <19991109025345.16492.qmail@nym.alias.net>Show Full Headers
Complete Article Headers
Message-ID: <eb1f350e8034fcbc73067b1158a7153f@replay.com> Subject: Re: How protect HDisk against Customs when entering Great Britain Date: Wed, 10 Nov 1999 00:00:00 +0000 From: Anonymous <nobody@replay.com> References: <38263802.3007784@news.demon.co.uk> <5fdfec5cb98c9f320fe47762669189cd@replay.com> <19991109025345.16492.qmail@nym.alias.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.security.pgp.tech.mbox.zip!not-for-mail X-Deja-AN: 546898047 Organization: mail2news@nym.alias.net Mail-To-News-Contact: postmaster@nym.alias.net Newsgroups: alt.security.pgp,comp.security.pgp.discuss,comp.security.pgp.tech,alt.privacy,alt.privacy.anon-server,alt.security.scramdisk