View Single Post
Old 06-19-2009   #5 (permalink)
Heinz


 
 

Re: Re:simple text encrypt / decrypt

"Al Dunbar" <alandrub@xxxxxx> schrieb im Newsbeitrag
news:ukFY0PO8JHA.5400@xxxxxx
Quote:

>
> "Heinz" <Spacewalker4711(noSpam)@hotmail.com> wrote in message
> news:uaVlOON8JHA.1488@xxxxxx
Quote:

>> "rahulji" <rahuljiv@xxxxxx> schrieb im Newsbeitrag
>> news:064c21f4734641fa97b49da4a16693d4@xxxxxx
Quote:

>>> Hi,
>>> I have a different requirement.
>>> i wrote a script which will contain an username and password of an FTP
>>> server to which it will upload the data.
>>>
>>> i want to encrypt these username and password using DPAPIs so that no
>>> one
>>> can read them.
>>>
>>> can anyone help in this regard?
>>>
>>> url:http://www.ureader.com/msg/1675127.aspx
>>
>> I think it depends on what you want to achieve:
>> if your concern is that somebody can snif username and password from your
>> LAN or on the internet then maybe you need something like VPN or SFTP
>> if you want to prevent that somebody reads the VBS sourccode then you can
>> :
>> -compile the VBS to an (encrypted) .exe file (there are tools availlabe
>> doing this)
>
> But, again, just how secure is that encrypted information? The executable
> must contain the code required to de-crypt the encrypted portions of the
> executable, so reverse engineering is possible.
Well, tools like http://www.abyssmedia.com/scriptcryptor/index.shtml will
"compile" and encrypt VBS code to an .exe using Blowfish (an
industry-standard strong encryption algorithm).
The tool uses a strong random password for encrypting the .exe - and when
executed the exe decrypts itself "on the fly" (to memory, not to disk)
This should be sufficient for most users I think and it's a good option for
distributing confidential VBS sourcecode

Heinz


My System SpecsSystem Spec