From: Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject: Re: Calling a File for Encryption from outside of the Main Ada-95 Holding Folder.
Date: Wed, 04 Sep 2013 23:16:17 -0400
Date: 2013-09-04T23:16:17-04:00 [thread overview]
Message-ID: <e7tf29t30ivhvdm2qnfu8djbgn71n4or1u@4ax.com> (raw)
In-Reply-To: ad1ac0db-f6d9-4ae5-baac-6cc5d93c54a0@googlegroups.com
On Wed, 4 Sep 2013 04:10:13 -0700 (PDT), Austin Obyrne
<austin.obyrne@hotmail.com> declaimed the following:
I'm going to snip a lot of this and get to one point...
>Up to now I thought a file of plaintext for encryption always has to go through the AdGide editor for the compiler to 'see' it - True or false.
>
The "compiler" NEVER sees the plaintext...
The compiler is used to "compile" the source code of the encryption
/program/ into an executable.
The executable program is what has to see the plaintext as input, and
produce some other file as the encrypted output.
The simplest way is probably to use stdin and stdout via command line
redirection (a feature of the operating system, not of the
language/compiler). If the "key" is a compiled in constant, this would mean
using a command line on the form of:
encrypt <plain.txt >cypher.txt
The next step above would be to use the language features to access the
command line arguments. That would let one enter a "key" on the command
line, along with the file names
encrypt thisISaK3y plain.txt cypher.txt
Note how none of the above is sensitive to the language -- Python, Ada,
C/++, Java ALL react the same way.
You'll forgive if I don't take the time to actually code an example -- it's
going on 2330 hours and I need to go to work in the morning...
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
next prev parent reply other threads:[~2013-09-05 3:16 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-04 11:10 Calling a File for Encryption from outside of the Main Ada-95 Holding Folder Austin Obyrne
2013-09-04 19:37 ` Austin Obyrne
2013-09-04 19:47 ` Eryndlia Mavourneen
2013-09-04 20:23 ` Austin Obyrne
2013-09-04 20:37 ` Austin Obyrne
2013-09-04 21:31 ` Austin Obyrne
2013-09-05 5:39 ` Simon Wright
2013-09-05 7:16 ` Austin Obyrne
2013-09-05 7:56 ` Austin Obyrne
2013-09-05 11:33 ` Simon Wright
2013-09-05 15:46 ` Austin Obyrne
2013-09-05 16:00 ` Austin Obyrne
2013-09-05 16:08 ` Eryndlia Mavourneen
2013-09-05 16:50 ` Austin Obyrne
2013-09-05 17:42 ` Eryndlia Mavourneen
2013-09-05 14:40 ` Eryndlia Mavourneen
2013-09-05 15:38 ` Austin Obyrne
2013-09-05 3:16 ` Dennis Lee Bieber [this message]
2013-09-05 6:57 ` Austin Obyrne
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox