AutoIt Encryption

AutoIt Encryption

With StringEncrypt you can encrypt strings and files for AutoIt script programming language.

AutoIt is a freeware BASIC-like scripting language designed for automating the Windows GUI and general scripting. It uses a combination of simulated keystrokes, mouse movement and window/control manipulation in order to automate tasks in a way not possible or reliable with other languages.

String encryption supports both UNICODE (wchar_t type) and ANSI (char type) strings.

AutoIt encryption (UNICODE Example)

; encrypted with www.stringencrypt.com (v1.0.0) [AutoIt]
#include <Array.au3>
 
; $Label = "AutoIt String Encryption"
Global $Label[25] = [ 0xD490, 0xD45B, 0xD459, 0xD45B, 0xD484, 0xD456, 0xD4E9, 0xD4B3, _
                      0xD453, 0xD450, 0xD49E, 0xD452, 0xD49A, 0xD4E2, 0xD47E, 0xD44E, _
                      0xD49A, 0xD448, 0xD446, 0xD44C, 0xD447, 0xD493, 0xD448, 0xD446, _
                      0xD4B7 ];
 
For $wSVxJ = 0 to 24
    $Rsdhe = $Label[$wSVxJ];
    $Rsdhe = $Rsdhe - 1;
    $Rsdhe = BitNOT($Rsdhe);
    $Rsdhe -= $wSVxJ;
    $Rsdhe = BitXOR($Rsdhe, 0x4523);
    $Rsdhe -= 0xD166;
    $Rsdhe -= $wSVxJ;
    $Rsdhe += $wSVxJ;
    $Rsdhe += 0x6354;
    $Label[$wSVxJ] = ChrW(BitAND($Rsdhe, 0xFFFF));
Next
 
$Label = _ArrayToString($Label, "")
 
ConsoleWrite($Label);

AutoIt encryption (ANSI Example)

; encrypted with www.stringencrypt.com (v1.0.0) [AutoIt]
#include <Array.au3>
 
; $Label = "How to encrypt strings in AutoIt?"
Global $Label[34] = [ 0x97, 0x44, 0x7C, 0x35, 0x4B, 0x5C, 0x37, 0x4A, _
                      0x49, 0x40, 0x79, 0x7E, 0x77, 0x79, 0x07, 0x78, _
                      0x6B, 0x6B, 0x4E, 0x4B, 0x50, 0x60, 0x17, 0x4E, _
                      0x49, 0x05, 0x66, 0x52, 0x5B, 0x0C, 0x6E, 0x59, _
                      0x38, 0x15 ];
 
For $ymLfv = 0 to 33
    $rHdAm = $Label[$ymLfv];
    $rHdAm = BitXOR($rHdAm, 0xEC);
    $rHdAm = $rHdAm - 1;
    $rHdAm = BitXOR($rHdAm, $ymLfv);
    $rHdAm += 0x9A;
    $rHdAm -= $ymLfv;
    $rHdAm = BitXOR($rHdAm, 0xAC);
    $rHdAm = BitNOT($rHdAm);
    $rHdAm = BitXOR($rHdAm, $ymLfv);
    $rHdAm = $rHdAm + 1;
    $rHdAm = BitXOR($rHdAm, $ymLfv);
    $Label[$ymLfv] = Chr(BitAND($rHdAm, 0xFF));
Next
 
$Label = _ArrayToString($Label, "")
 
ConsoleWrite($Label);