Script2EXE Home How to Use Interface Buy Support Site Home

Script2EXE Sample: AES


Source Codes

The source codes can be found here: http://www.movable-type.co.uk/scripts/aes.html

Build
Test
var aes=new ActiveXObject("AES.SHDemo");
var pars=WScript.Arguments;
if(pars.Length!=2)
{
WScript.Echo("Usage AESTest  text password");
}
else
{
var t=pars(0);
var p=pars(1)
var r1=aes.AESEncryptCtr(t, p, 256);
var r2=aes.AESDecryptCtr(r1, p, 256);
WScript.Echo(r1);
WScript.Echo(r2);
}

Download the DLL

aes.dll, about 120K

You must run "regsvr32" to register the downloaded dll before you can test it.