> Windows Script Host engine does NOT supports encrypted scripts.
>
> It supports encoding. Encoding means that the script is passed
> through a text-encoding cipher, which replaces the original text.
> Therefore, the encoded script could be decoded by any program that
> can decipher the text cipher, without the need for an encryption key.
I'm certainly no cryptographer or cryptologist, and I recognize the above
paragraph from
MSDN(http://msdn.microsoft.com/library/periodic/period99/scriptengine.htm),
but two points come to mind:
1. I think you're defining "key" too narrowly. If you use a cipher, and I
have a set of instructions for converting ciphertext to plaintext, then I
have a key. From "An Introduction to the Use of Encryption"
(http://serendipity.magnet.ch/hermetic/crypto/intro.htm):
"The original information to be hidden is called 'plaintext'. The hidden
information is called 'ciphertext'. Encryption is any procedure to convert
plaintext into ciphertext. Decryption is any procedure to convert ciphertext
into plaintext."
However, I'll admit that encryption usually refers to the use of an
algorithmic key, rather than a traditional cipher. Also, I couldn't find any
clear definitions for encryption and encoding that would differentiate them
in a useful manner. From what I remember, encoding is different from
enciphering, anyway. If there's anyone on this list who can answer these
questions authoritatively (Steve Bernard?), I'd be happy to get the right
answers.
2. Not that it matters much anyway. The difference between Windows Script
encoding, in which the decoding instructions are stored within scrrun.dll,
and CF script encryption, in which the key is hard-coded into the CF server
executable, is pretty small from a development and deployment perspective.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists