String Encryption and File Encryption for C/C++, C#, Visual Basic .NET, Delphi/Pascal/Object Pascal, Java, JavaScript, Python, Ruby, AutoIt, PowerShell, Haskell, MASM, FASM programming languages.
Repo PELock/StringEncrypt-WebAPI, read from GitHub 1 min ago. PELock has not joined Take My Repo.
PELock/StringEncrypt-WebAPI is a public repo on GitHub by PELock. String Encryption and File Encryption for C/C++, C#, Visual Basic .NET, Delphi/Pascal/Object Pascal, Java, JavaScript, Python, Ruby, AutoIt, PowerShell, Haskell, MASM, FASM programming languages. It declares the Apache-2.0 license on GitHub. It is written mainly in PHP, has 31 stars and last changed on 2026-04-29. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read from GitHub on 2026-11-19.
In the maintainer's words. Shown from GitHub; Take My Repo does not keep a copy.
StringEncrypt allows you to encrypt strings and files using a randomly generated algorithm, generating a unique decryption code (so-called polymorphic code) each time in the selected programming language.
StringEncrypt can be used:
// $secret = "PHP string encryption"// encrypted with https://www.stringencrypt.com (v1.5.0) [PHP] // Encoding: Windows-1250 or match your source file // $secret = "PHP string encryption" $secret = [ 0x8E, 0x40, 0x56, 0xAE, 0x7A, 0x0B, 0x1D, 0x51, 0x5D, 0x63, 0x13, 0xDA, 0x6E, 0x3F, 0xDB, 0x5E, 0xB9, 0x79, 0x1F, 0xA6, 0x17 ]; $DGEPd = 0; for ($PBbql = 0; $PBbql < 21; $PBbql++) { $DGEPd = $secret[$PBbql]; for ($pNjYM = 0; $pNjYM < 4; $pNjYM++) { $DGEPd = ($DGEPd ^ 0x3D) & 0xFF; $DGEPd = (((~($DGEPd & 0xFF)) & 0xFF) + 1) & 0xFF; } $DGEPd = ($DGEPd ^ 0xB6) & 0xFF; $DGEPd = ($DGEPd ^ $PBbql) & 0xFF; for ($XnxLS = 0; $XnxLS < 2; $XnxLS++) { for ($qoZCp = 0; $qoZCp < 4; $qoZCp++) { $DGEPd = ((($DGEPd & 0xFF) >> 7) | (($DGEPd & 0xFF) << 1)) & 0xFF; } for ($CsgJZ = 0; $CsgJZ < 4; $CsgJZ++) { for ($VwNLz = 0; $VwNLz < 3; $VwNLz++) { $DGEPd = ($DGEPd ^ ((($DGEPd & 0xFF) << 4) & 0xFF)) & 0xFF; $DGEPd = ((($DGEPd & 0xFF) >> 4) | (($DGEPd & 0xFF) << 4)) & 0xFF; } $DGEPd = (($DGEPd & 0xFF) + 1) & 0xFF; } } $DGEPd = (($DGEPd & 0xFF) + 0xD0) & 0xFF; $DGEPd = ((($DGEPd & 0xFF) >> 4) | (($DGEPd & 0xFF) << 4)) & 0xFF; for ($cUyMk = 0; $cUyMk < 3; $cUyMk++) { $DGEPd = (($DGEPd & 0xFF) + 1) & 0xFF; $DGEPd = ((($DGEPd & 0xFF) << ($PBbql % 8)) | (($DGEPd & 0xFF) >> (8 - ($PBbql % 8)))) & 0xFF; } for ($UmJxX = 0; $UmJxX < 2; $UmJxX++) { for ($RGWvx = 0; $RGWvx < 4; $RGWvx++) { for ($xNBhy = 0; $xNBhy < 4; $xNBhy++) { $DGEPd = (($DGEPd & 0xFF) - 0x27) & 0xFF; } } } $DGEPd = (($DGEPd & 0xFF) + 1) & 0xFF; for ($lJFgB = 0; $lJFgB < 3; $lJFgB++) { $DGEPd = ($DGEPd ^ $PBbql) & 0xFF; $DGEPd = ((($DGEPd & 0xFF) << ($PBbql % 8)) | (($DGEPd & 0xFF) >> (8 - ($PBbql % 8)))) & 0xFF; for ($nGAaX = 0; $nGAaX < 2; $nGAaX++) { for ($RMrYp = 0; $RMrYp < 4; $RMrYp++) { $DGEPd = ($DGEPd ^ 0xFF) & 0xFF; } for ($pUZjW = 0; $pUZjW < 4; $pUZjW++) { $DGEPd = (($DGEPd & 0xFF) - $PBbql) & 0xFF; } $DGEPd = ($DGEPd ^ (($DGEPd & 0xFF) >> 6)) & 0xFF; } } $DGEPd = ($DGEPd ^ 0x27) & 0xFF; for ($QHPSD = 0; $QHPSD < 3; $QHPSD++) { $DGEPd = (($DGEPd & 0xFF) + 0x6C) & 0xFF; } for ($PquxI = 0; $PquxI < 4; $PquxI++) { $DGEPd = (($DGEPd & 0xFF) - 1) & 0xFF; for ($yCWuE = 0; $yCWuE < 2; $yCWuE++) { $DGEPd = (($DGEPd & 0xFF) - 0xAF) & 0xFF; for ($DFgxE = 0; $DFgxE < 4; $DFgxE++) { $DGEPd = (($DGEPd & 0xFF) + 0x1D) & 0xFF; $DGEPd = ($DGEPd ^ 0xFF) & 0xFF; } $DGEPd = (($DGEPd & 0xFF) + 1) & 0xFF; } for ($uadXk = 0; $uadXk < 4; $uadXk++) { $DGEPd = ($DGEPd ^ $PBbql) & 0xFF; } } $secret[$PBbql] = $DGEPd; } $secret = implode('', array_map(function ($c) { return chr($c & 0xFF); }, $secret)); echo secret;
I'm a developer, and I love programming. I'm also an avid reverse engineer. I perform a wide array of software analysis in my daily work and sometimes I find things in compiled applications that shouldn't be exposed to the first person with a simple hex-editor in hand.
Everything! I've listed a few examples of the things I found below. Sometimes these things shouldn't even be included in applications at all (they are there due to poor design choices or rushed work), but some are just cannot be avoided.
Ask yourself, did you ever put some sensitive content in your software that you later regret?
If any of these things were to fall into the wrong hands, they could be used to compromise your software or your infrastructure.
Take for example database passwords. A competitor could use them to view your database structure or dump all of its contents. You don't want to lose all your hard work because someone with a simple hex-editor can discover your password in plain text.
I've decided to create a simple service called String Encrypt for developers, offering fast string & file encryption without the need to write custom encryption tools over and over again because I did that many times.
String Encrypt can help you hide the things that shouldn't be visible at first glance to anyone with a hex-editor.
Forget about simple xor encryption! StringEncrypt comes with a unique encryption engine.
It's a polymorphic encryption engine, similar to the encryption methods used by the software protection solutions and advanced computer viruses.
Let me explain how the polymorphic encryption process works.
xor, addition, subtraction, bit rotations, bit shifts, logical negation etc.).encryption keys is generated.You can learn more about polymorphic engines from my articles and projects:
The encrypted content is different every time you apply StringEncrypt encryption to it.
The algorithm is always unique, the encryption keys are always randomly selected and the decryption code is also unique for every time you use our encryption.
UNICODE (WideChar type in C/C++ languages), UTF-8 (multibyte) & ANSI (single byte) strings encodingsglobal or local variable if the selected programming language supports it)WebAPI interface (PHP and Python bindings)The preferred way of StringEncrypt module installation is via composer(https://getcomposer.org/).
Run:
composer require pelock/stringencrypt
The installation package is available at https://packagist.org/packages/pelock/stringencrypt
<?php declare(strict_types=1); /////////////////////////////////////////////////////////////////////////////// // // StringEncrypt WebApi interface usage example. // // In this example we will encrypt sample string with default options. // // Version : v1.0.1 // Language : PHP // Author : Bartosz Wójcik // Project page : https://www.stringencrypt.com // Web page : https://www.pelock.com // /////////////////////////////////////////////////////////////////////////////// use StringEncrypt\ErrorCode; use StringEncrypt\Language; use StringEncrypt\NewLine; use StringEncrypt\StringEncrypt; $stringEncrypt = new StringEncrypt('YOUR-API-KEY-HERE'); // leave empty for demo mode $result = $stringEncrypt->encryptString('Hello!', '$label'); if ($result === false) { echo "Cannot connect to the API.\n"; exit(1); } if (($result['error'] ?? null) !== ErrorCode::SUCCESS) { echo 'API error: ' . (string) ($result['error'] ?? 'unknown') . "\n"; exit(1); } echo (string) $result['source'] . "\n";
$result["error"] (int) - error code$result["source"] (string) - decryptor source code$result["expired"] (boolean) - expiration flag$result["credits_left"] (int) - number of credits left$result["credits_total"] (int) - initial number of creditsERROR_SUCCESS (0) - everything went fineERROR_EMPTY_LABEL (1) - label parameter is emptyERROR_LENGTH_LABEL (2) - label length is too longERROR_EMPTY_STRING (3) - input string is emptyERROR_EMPTY_BYTES (4) - input file bytes array is emptyERROR_EMPTY_INPUT (5) - input source (either string or file) is missingERROR_LENGTH_STRING (6) - string length is too longERROR_INVALID_LANG (7) - programming language not supportedERROR_INVALID_LOCALE (8) - language locale is not supportedERROR_CMD_MIN (9) - invalid number of minimum encryption commandsERROR_CMD_MAX (10) - invalid number of maximum encryption commandsERROR_LENGTH_BYTES (11) - bytes/file length is too longERROR_DEMO (100) - you need a valid code to use full version features<?php declare(strict_types=1); /////////////////////////////////////////////////////////////////////////////// // // StringEncrypt WebApi interface usage example. // // In this example we will encrypt sample string with default options. // // Version : v1.0.1 // Language : PHP // Author : Bartosz Wójcik // Project page : https://www.stringencrypt.com // Web page : https://www.pelock.com // /////////////////////////////////////////////////////////////////////////////// use StringEncrypt\ErrorCode; use StringEncrypt\Language; use StringEncrypt\NewLine; use StringEncrypt\StringEncrypt; $stringEncrypt = new StringEncrypt('YOUR-API-KEY-HERE'); // leave empty for demo mode $stringEncrypt ->setCompression(false) ->setUnicode(true) ->setLangLocale('en_US.utf8') ->setNewLines(NewLine::Lf) ->setLanguage(Language::Cpp) ->setCmdMin(1) ->setCmdMax(3) ->setLocal(false); $result = $stringEncrypt->encryptString('Hello!', 'wszLabel'); if ($result === false) { echo "Cannot connect to the API.\n"; exit(1); } if (($result['error'] ?? null) !== ErrorCode::SUCCESS) { echo 'API error: ' . (string) ($result['error'] ?? 'unknown') . "\n"; exit(1); } echo (string) $result['source'] . "\n";
$result["error"] (int) - error code$result["source"] (string) - decryptor source code$result["expired"] (boolean) - expiration flag$result["credits_left"] (int) - number of credits left$result["credits_total"] (int) - initial number of creditsERROR_SUCCESS (0) - everything went fineERROR_EMPTY_LABEL (1) - label parameter is emptyERROR_LENGTH_LABEL (2) - label length is too longERROR_EMPTY_STRING (3) - input string is emptyERROR_EMPTY_BYTES (4) - input file bytes array is emptyERROR_EMPTY_INPUT (5) - input source (either string or file) is missingERROR_LENGTH_STRING (6) - string length is too longERROR_INVALID_LANG (7) - programming language not supportedERROR_INVALID_LOCALE (8) - language locale is not supportedERROR_CMD_MIN (9) - invalid number of minimum encryption commandsERROR_CMD_MAX (10) - invalid number of maximum encryption commandsERROR_LENGTH_BYTES (11) - bytes/file length is too longERROR_DEMO (100) - you need a valid code to use full version features<?php declare(strict_types=1); /////////////////////////////////////////////////////////////////////////////// // // StringEncrypt WebApi interface usage example. // // In this example we will encrypt sample file with default options. // // Version : v1.0.1 // Language : PHP // Author : Bartosz Wójcik // Project page : https://www.stringencrypt.com // Web page : https://www.pelock.com // /////////////////////////////////////////////////////////////////////////////// use StringEncrypt\ErrorCode; use StringEncrypt\Language; use StringEncrypt\NewLine; use StringEncrypt\StringEncrypt; $stringEncrypt = new StringEncrypt('YOUR-API-KEY-HERE'); // leave empty for demo mode $stringEncrypt ->setCompression(false) ->setUnicode(true) ->setLangLocale('en_US.utf8') ->setNewLines(NewLine::Lf) ->setAnsiEncoding('WINDOWS-1250') ->setLanguage(Language::Php) ->setCmdMin(1) ->setCmdMax(3) ->setLocal(false); // Full license: raw bytes from file (demo may return ERROR_DEMO). $result = $stringEncrypt->encryptFileContents(__DIR__ . '/sample.bin', '$label'); if ($result === false) { echo "Cannot connect to the API or file is missing/empty.\n"; exit(1); } if (($result['error'] ?? null) !== ErrorCode::SUCCESS) { echo 'API error: ' . (string) ($result['error'] ?? 'unknown') . "\n"; exit(1); } echo (string) $result['source'] . "\n";
$result["error"] (int) - error code$result["source"] (string) - decryptor source code$result["expired"] (boolean) - expiration flag$result["credits_left"] (int) - number of credits left$result["credits_total"] (int) - initial number of creditsERROR_SUCCESS (0) - everything went fineERROR_EMPTY_LABEL (1) - label parameter is emptyERROR_LENGTH_LABEL (2) - label length is too longERROR_EMPTY_STRING (3) - input string is emptyERROR_EMPTY_BYTES (4) - input file bytes array is emptyERROR_EMPTY_INPUT (5) - input source (either string or file) is missingERROR_LENGTH_STRING (6) - string length is too longERROR_INVALID_LANG (7) - programming language not supportedERROR_INVALID_LOCALE (8) - language locale is not supportedERROR_CMD_MIN (9) - invalid number of minimum encryption commandsERROR_CMD_MAX (10) - invalid number of maximum encryption commandsERROR_LENGTH_BYTES (11) - bytes/file length is too longERROR_DEMO (100) - you need a valid code to use full version featuresThis example shows how to get information about the current activation code and its features.
<?php declare(strict_types=1); /////////////////////////////////////////////////////////////////////////////// // // StringEncrypt WebApi interface usage example. // // In this example we will verify our activation code status. // // Version : v1.0.1 // Language : PHP // Author : Bartosz Wójcik // Project page : https://www.stringencrypt.com // Web page : https://www.pelock.com // /////////////////////////////////////////////////////////////////////////////// use StringEncrypt\StringEncrypt; $stringEncrypt = new StringEncrypt(''); $result = $stringEncrypt->isDemo(); if ($result === false) { echo "Cannot connect to the API.\n"; exit(1); } if (!empty($result['demo'])) { echo "DEMO mode\n"; } else { echo "FULL mode\n"; echo 'Credits left: ' . (string) ($result['credits_left'] ?? '') . "\n"; } echo 'Label max length: ' . (string) ($result['label_limit'] ?? '') . "\n"; echo 'String max length: ' . (string) ($result['string_limit'] ?? '') . "\n"; echo 'Bytes max length: ' . (string) ($result['bytes_limit'] ?? '') . "\n"; echo 'cmd_min / cmd_max: ' . (string) ($result['cmd_min'] ?? '') . ' / ' . (string) ($result['cmd_max'] ?? '') . "\n";
$result["demo"] (boolean) - demo mode flag$result["label_limit"] (int) - label limit length$result["string_limit"] (int) - string/file limit length$result["credits_left"] (int) - number of credits left$result["credits_total"] (int) - initial number of credits$result["cmd_min"] (int) - minimum number of encryption commands$result["cmd_max"] (int) - maximum number of encryption commandsStringEncrypt engine supports code generation for the following programming languages:
Some examples of generated source code for supported programming languages (with display / run example enabled, matching the full client include example option):
// encrypted with https://www.stringencrypt.com (v1.5.0) [C/C++] #include <cstdio> #include <cwchar> // wszLabel = "C/C++ String Encryption" wchar_t wszLabel[24]; wszLabel[20] = 0xEDD6; wszLabel[22] = 0xA64D; wszLabel[3] = 0x733C; wszLabel[19] = 0x96B6; wszLabel[12] = 0xBCA7; wszLabel[6] = 0xDBD5; wszLabel[18] = 0x8D05; wszLabel[1] = 0xD61B; wszLabel[9] = 0x16AC; wszLabel[13] = 0xCA4A; wszLabel[16] = 0xAB02; wszLabel[8] = 0xB392; wszLabel[21] = 0xE785; wszLabel[10] = 0x18AB; wszLabel[14] = 0x2AF8; wszLabel[23] = 0x7099; wszLabel[5] = 0xAF1B; wszLabel[15] = 0xFC72; wszLabel[7] = 0x05AE; wszLabel[0] = 0x9BF3; wszLabel[2] = 0x14D8; wszLabel[4] = 0xD30F; wszLabel[11] = 0xEDE7; wszLabel[17] = 0x1158; for (volatile unsigned int iZASt = 0, tmLMB = 0; iZASt < 24; iZASt++) { tmLMB = wszLabel[iZASt]; for (unsigned int sfIcm = 0; sfIcm < 2; sfIcm++) { for (unsigned int MUhVa = 0; MUhVa < 3; MUhVa++) { tmLMB = (tmLMB ^ (((tmLMB & 0xFFFF) << 15) & 0xFFFF)) & 0xFFFF; tmLMB = (((tmLMB & 0xFFFF) << (iZASt % 16)) | ((tmLMB & 0xFFFF) >> (16 - (iZASt % 16)))) & 0xFFFF; } } tmLMB = (tmLMB ^ 0x2BFD) & 0xFFFF; tmLMB = (((tmLMB & 0xFFFF) >> 8) | ((tmLMB & 0xFFFF) << 8)) & 0xFFFF; for (unsigned int qiTBF = 0; qiTBF < 2; qiTBF++) { tmLMB = ((tmLMB & 0xFFFF) - iZASt) & 0xFFFF; tmLMB = (((tmLMB & 0xFFFF) >> 8) | ((tmLMB & 0xFFFF) << 8)) & 0xFFFF; } tmLMB = ((tmLMB & 0xFFFF) - 0x51B1) & 0xFFFF; tmLMB = (((tmLMB & 0xFFFF) >> 8) | ((tmLMB & 0xFFFF) << 8)) & 0xFFFF; tmLMB = ((tmLMB ^ 0xFFFF) & 0xFFFF); tmLMB = ((tmLMB & 0xFFFF) + iZASt) & 0xFFFF; for (unsigned int HOCjn = 0; HOCjn < 4; HOCjn++) { tmLMB = (((tmLMB & 0xFFFF) >> 8) | ((tmLMB & 0xFFFF) << 8)) & 0xFFFF; tmLMB = ((tmLMB & 0xFFFF) - iZASt) & 0xFFFF; for (unsigned int JpQxh = 0; JpQxh < 2; JpQxh++) { tmLMB = (((tmLMB & 0xFFFF) >> 12) | ((tmLMB & 0xFFFF) << 4)) & 0xFFFF; } } wszLabel[iZASt] = tmLMB; } fputws(wszLabel, stdout); fputwc(L'\n', stdout);
// encrypted with https://www.stringencrypt.com (v1.5.0) [C#] // superSecretString = "Easy encryption in C#" String superSecretString = "\uA1A2\uE379\uB64C\u7816\u238A\uD7E4\u0CFA\uD465" + "\u7CE4\uA305\u2C46\uD27B\u533A\u6F43\u91A5\u3B36" + "\u181E\uC1B8\uA827\uC1FC\u9073"; for (int ugcqt = 0, TSGdn = 0; ugcqt < 21; ugcqt++) { TSGdn = superSecretString[ugcqt]; TSGdn = (((TSGdn & 0xFFFF) << (ugcqt % 16)) | ((TSGdn & 0xFFFF) >> (16 - (ugcqt % 16)))) & 0xFFFF; TSGdn = (TSGdn ^ ugcqt) & 0xFFFF; for (int IjFDX = 0; IjFDX < 3; IjFDX++) { for (int scVKQ = 0; scVKQ < 2; scVKQ++) { TSGdn = (TSGdn ^ (((TSGdn & 0xFFFF) << 9) & 0xFFFF)) & 0xFFFF; for (int tKeJi = 0; tKeJi < 4; tKeJi++) { TSGdn = (((TSGdn & 0xFFFF) << (ugcqt % 16)) | ((TSGdn & 0xFFFF) >> (16 - (ugcqt % 16)))) & 0xFFFF; TSGdn = ((TSGdn & 0xFFFF) - 0x7198) & 0xFFFF; TSGdn = (TSGdn ^ 0xFFFF) & 0xFFFF; } TSGdn = (((TSGdn & 0xFFFF) << 6) | ((TSGdn & 0xFFFF) >> 10)) & 0xFFFF; } TSGdn = ((TSGdn & 0xFFFF) + 1) & 0xFFFF; for (int Hmtef = 0; Hmtef < 3; Hmtef++) { for (int CEwoz = 0; CEwoz < 2; CEwoz++) { TSGdn = (TSGdn ^ (((TSGdn & 0xFFFF) << 11) & 0xFFFF)) & 0xFFFF; } } } for (int OomDf = 0; OomDf < 3; OomDf++) { for (int WCOqH = 0; WCOqH < 4; WCOqH++) { TSGdn = (((TSGdn & 0xFFFF) >> 1) | ((TSGdn & 0xFFFF) << 15)) & 0xFFFF; } for (int ikutC = 0; ikutC < 2; ikutC++) { for (int HJjpq = 0; HJjpq < 2; HJjpq++) { TSGdn = (TSGdn ^ 0x5539) & 0xFFFF; } for (int FKCPT = 0; FKCPT < 3; FKCPT++) { TSGdn = (TSGdn ^ 0xFFFF) & 0xFFFF; TSGdn = ((TSGdn & 0xFFFF) + 0xC1C1) & 0xFFFF; } TSGdn = (TSGdn ^ (((TSGdn & 0xFFFF) << 10) & 0xFFFF)) & 0xFFFF; } } TSGdn = ((TSGdn & 0xFFFF) - ugcqt) & 0xFFFF; TSGdn = ((TSGdn & 0xFFFF) + 1) & 0xFFFF; TSGdn = ((TSGdn & 0xFFFF) + 0x6B27) & 0xFFFF; for (int knhQm = 0; knhQm < 2; knhQm++) { for (int dxIem = 0; dxIem < 4; dxIem++) { for (int LvAum = 0; LvAum < 3; LvAum++) { TSGdn = (((TSGdn & 0xFFFF) >> 2) | ((TSGdn & 0xFFFF) << 14)) & 0xFFFF; TSGdn = (((~(TSGdn & 0xFFFF)) & 0xFFFF) + 1) & 0xFFFF; TSGdn = (((TSGdn & 0xFFFF) << (ugcqt % 16)) | ((TSGdn & 0xFFFF) >> (16 - (ugcqt % 16)))) & 0xFFFF; } } TSGdn = ((TSGdn & 0xFFFF) - 1) & 0xFFFF; TSGdn = (TSGdn ^ ugcqt) & 0xFFFF; } TSGdn = (TSGdn ^ 0xEDF3) & 0xFFFF; TSGdn = (((TSGdn & 0xFFFF) >> (ugcqt % 16)) | ((TSGdn & 0xFFFF) << (16 - (ugcqt % 16)))) & 0xFFFF; TSGdn = (((~(TSGdn & 0xFFFF)) & 0xFFFF) + 1) & 0xFFFF; for (int tJDYH = 0; tJDYH < 2; tJDYH++) { for (int jqFXP = 0; jqFXP < 4; jqFXP++) { TSGdn = (((TSGdn & 0xFFFF) >> (ugcqt % 16)) | ((TSGdn & 0xFFFF) << (16 - (ugcqt % 16)))) & 0xFFFF; TSGdn = (((TSGdn & 0xFFFF) << 3) | ((TSGdn & 0xFFFF) >> 13)) & 0xFFFF; TSGdn = ((TSGdn & 0xFFFF) - 0x4E43) & 0xFFFF; } } superSecretString = superSecretString.Substring(0, ugcqt) + (char)(TSGdn & 0xFFFF) + superSecretString.Substring(ugcqt + 1); } MessageBox.Show(superSecretString);
' encrypted with https://www.stringencrypt.com (v1.5.0) [Visual Basic .NET] ' vbSecret = "Option Strict On in VB.NET" Dim HudbE() As Integer = { &H6606, &H39FF, &H14BC, &HFFD1, &HF714, &HF242, &H6EBC, &H2E90, &H2E4B, &H8DF2, &H9DD0, &H85C4, &HC1C3, &H37DD, &HD0D9, &H1C50, &H3716, &H372F, &H13AC, &HF731, &HF5EC, &HF172, &H6F64, &H2F1B, &HEE8D, &HAE75 } Dim vbSecret As String Dim XidVf As Integer Dim oqtRy As Integer Dim SKjiG As Integer Dim QhyUd As Integer Dim YHFWS As Integer Dim EVNCa As Integer Dim eRLNZ As Integer For eRLNZ = 0 To 25 XidVf = HudbE(eRLNZ) XidVf = (XidVf Xor eRLNZ) And &HFFFF XidVf = ((XidVf And &HFFFF) + 1) And &HFFFF For oqtRy = 0 To 1 For SKjiG = 0 To 3 XidVf = ((XidVf And &HFFFF) - eRLNZ) And &HFFFF Next XidVf = ((XidVf And &HFFFF) - &HF6B4) And &HFFFF Next XidVf = ((XidVf And &HFFFF) + 1) And &HFFFF XidVf = (((XidVf And &HFFFF) << (eRLNZ Mod 16)) Or ((XidVf And &HFFFF) >> (16 - (eRLNZ Mod 16)))) And &HFFFF For QhyUd = 0 To 3 For YHFWS = 0 To 2 XidVf = ((XidVf And &HFFFF) - 1) And &HFFFF Next XidVf = ((XidVf And &HFFFF) - &H4A45) And &HFFFF XidVf = (XidVf Xor eRLNZ) And &HFFFF Next XidVf = (((XidVf And &HFFFF) >> 8) Or ((XidVf And &HFFFF) << 8)) And &HFFFF XidVf = (XidVf Xor (((XidVf And &HFFFF) << 15) And &HFFFF)) And &HFFFF For EVNCa = 0 To 3 XidVf = (XidVf Xor eRLNZ) And &HFFFF XidVf = (((XidVf And &HFFFF) >> 8) Or ((XidVf And &HFFFF) << 8)) And &HFFFF Next vbSecret = vbSecret + ChrW(XidVf And &HFFFF) Next eRLNZ MessageBox.Show(vbSecret)
// encrypted with https://www.stringencrypt.com (v1.5.0) [Delphi / Pascal] var // mySecret = "Delphi is awesome!" mySecret: array[0..19] of WideChar; HFisk: Integer; ZnzLM: Integer; XMlUh: Integer; pSdQr: Integer; clrza: Integer; GPvNR: Integer; lFOKB: Integer; begin mySecret[6] := WideChar($EF77); mySecret[15] := WideChar($766A); mySecret[5] := WideChar($4E77); mySecret[1] := WideChar($F277); mySecret[2] := WideChar($3B77); mySecret[17] := WideChar($FE72); mySecret[14] := WideChar($7268); mySecret[9] := WideChar($9362); mySecret[0] := WideChar($EB77); mySecret[3] := WideChar($4B77); mySecret[13] := WideChar($E06A); mySecret[16] := WideChar($0A75); mySecret[11] := WideChar($5462); mySecret[4] := WideChar($AF74); mySecret[7] := WideChar($2A77); mySecret[10] := WideChar($F060); mySecret[8] := WideChar($FA64); mySecret[18] := WideChar($5F70); mySecret[12] := WideChar($4464); for lFOKB := 0 to 19 do begin HFisk := Ord(mySecret[lFOKB]); HFisk := (HFisk xor $FFFF) and $FFFF; HFisk := (HFisk xor lFOKB) and $FFFF; HFisk := ((HFisk and $FFFF) - $0124) and $FFFF; HFisk := ((HFisk and $FFFF) - lFOKB) and $FFFF; HFisk := (((HFisk and $FFFF) shr 8) or ((HFisk and $FFFF) shl 8)) and $FFFF; HFisk := (HFisk xor $168C) and $FFFF; HFisk := (((HFisk and $FFFF) shr 8) or ((HFisk and $FFFF) shl 8)) and $FFFF; HFisk := (((HFisk and $FFFF) xor $FFFF) + 1) and $FFFF; HFisk := (((HFisk and $FFFF) shr 8) or ((HFisk and $FFFF) shl 8)) and $FFFF; HFisk := (HFisk xor $FFFF) and $FFFF; for ZnzLM := 0 to 3 do begin HFisk := ((HFisk and $FFFF) + lFOKB) and $FFFF; for XMlUh := 0 to 2 do begin HFisk := (HFisk xor lFOKB) and $FFFF; HFisk := ((HFisk and $FFFF) + lFOKB) and $FFFF; HFisk := (HFisk xor ((HFisk and $FFFF) shr 10)) and $FFFF; end; end; HFisk := (HFisk xor $71DB) and $FFFF; HFisk := (HFisk xor ((HFisk and $FFFF) shr 8)) and $FFFF; for pSdQr := 0 to 2 do begin for clrza := 0 to 2 do begin HFisk := ((HFisk and $FFFF) - lFOKB) and $FFFF; end; HFisk := (HFisk xor $FFFF) and $FFFF; for GPvNR := 0 to 2 do begin HFisk := (HFisk xor lFOKB) and $FFFF; HFisk := (HFisk xor $FFFF) and $FFFF; end; end; mySecret[lFOKB] := WideChar(HFisk); end; ShowMessage(mySecret);
// encrypted with https://www.stringencrypt.com (v1.5.0) [Java] // myJavaPassword = "Very secret password! QWERTY" String myJavaPassword = ""; int LcnEg[] = { 0x8DEC, 0x1C11, 0x38B7, 0x7266, 0xE77C, 0xD369, 0xA92B, 0x6FC7, 0xF70E, 0x331E, 0xEC3C, 0xF379, 0x0CF7, 0x51F2, 0x9BEC, 0x47EA, 0x3008, 0xA052, 0x411F, 0x834F, 0x09B7, 0x16F6, 0x36CC, 0x7088, 0x1D71, 0x75E2, 0x6445, 0x9E8B }; for (int syzDT = 0, ZAfcE = 0; syzDT < 28; syzDT++) { ZAfcE = LcnEg[syzDT]; ZAfcE = (((ZAfcE & 0xFFFF) >>> 13) | ((ZAfcE & 0xFFFF) << 3)) & 0xFFFF; ZAfcE = (((ZAfcE & 0xFFFF) >>> (syzDT % 16)) | ((ZAfcE & 0xFFFF) << (16 - (syzDT % 16)))) & 0xFFFF; ZAfcE = (((~(ZAfcE & 0xFFFF)) & 0xFFFF) + 1) & 0xFFFF; ZAfcE = (((ZAfcE & 0xFFFF) >>> 8) | ((ZAfcE & 0xFFFF) << 8)) & 0xFFFF; for (int gyKZB = 0; gyKZB < 3; gyKZB++) { ZAfcE = ((ZAfcE & 0xFFFF) - 0xAE0D) & 0xFFFF; } ZAfcE = ((ZAfcE & 0xFFFF) + syzDT) & 0xFFFF; for (int KnuGq = 0; KnuGq < 4; KnuGq++) { for (int kbnLT = 0; kbnLT < 4; kbnLT++) { ZAfcE = (((ZAfcE & 0xFFFF) >>> 8) | ((ZAfcE & 0xFFFF) << 8)) & 0xFFFF; } ZAfcE = (ZAfcE ^ syzDT) & 0xFFFF; } ZAfcE = (((ZAfcE & 0xFFFF) >>> 8) | ((ZAfcE & 0xFFFF) << 8)) & 0xFFFF; for (int oVJfW = 0; oVJfW < 3; oVJfW++) { ZAfcE = (ZAfcE ^ 0xC49D) & 0xFFFF; for (int LzJBK = 0; LzJBK < 2; LzJBK++) { ZAfcE = ((ZAfcE & 0xFFFF) - 1) & 0xFFFF; } } for (int JKcZp = 0; JKcZp < 2; JKcZp++) { ZAfcE = (ZAfcE ^ syzDT) & 0xFFFF; for (int kvRTO = 0; kvRTO < 2; kvRTO++) { for (int uFglb = 0; uFglb < 2; uFglb++) { ZAfcE = (((ZAfcE & 0xFFFF) << 7) | ((ZAfcE & 0xFFFF) >>> 9)) & 0xFFFF; } ZAfcE = (ZAfcE ^ 0xFFFF) & 0xFFFF; } } ZAfcE = ((ZAfcE & 0xFFFF) + 0x4453) & 0xFFFF; ZAfcE = (((ZAfcE & 0xFFFF) >>> 8) | ((ZAfcE & 0xFFFF) << 8)) & 0xFFFF; myJavaPassword = myJavaPassword + (char)(ZAfcE & 0xFFFF); } System.out.println(myJavaPassword);
// encrypted with https://www.stringencrypt.com (v1.5.0) [Kotlin] // kotlinSecret = "Kotlin on the JVM" var kotlinSecret: String = "" val MapNJ: IntArray = intArrayOf( 0x4B2E, 0x0223, 0xC7ED, 0x4032, 0x96E3, 0x7865, 0x23EB, 0x599C, 0xC383, 0x264E, 0x5F09, 0x7EFE, 0xA113, 0xA2A3, 0x00E5, 0x780D, 0x8E55 ) var Qtqma: Int = 0 for (LZjJi in 0 until 17) { Qtqma = MapNJ[LZjJi] Qtqma = ((Qtqma and 0xFFFF) + 0xA521) and 0xFFFF Qtqma = (Qtqma xor (((Qtqma and 0xFFFF) shl 10) and 0xFFFF)) and 0xFFFF for (rZUBD in 0 until 4) { for (ZXqdA in 0 until 2) { Qtqma = (((Qtqma and 0xFFFF) shr (LZjJi % 16)) or ((Qtqma and 0xFFFF) shl (16 - (LZjJi % 16)))) and 0xFFFF for (vxUnf in 0 until 4) { Qtqma = ((Qtqma and 0xFFFF) + 0x0CA9) and 0xFFFF Qtqma = ((Qtqma and 0xFFFF) - 1) and 0xFFFF Qtqma = (((Qtqma and 0xFFFF) xor 0xFFFF) + 1) and 0xFFFF } } for (VawkG in 0 until 3) { Qtqma = ((Qtqma and 0xFFFF) - LZjJi) and 0xFFFF Qtqma = ((Qtqma and 0xFFFF) + 0xC4AF) and 0xFFFF for (JnHMU in 0 until 2) { Qtqma = (((Qtqma and 0xFFFF) shl 11) or ((Qtqma and 0xFFFF) shr 5)) and 0xFFFF Qtqma = (((Qtqma and 0xFFFF) shl (LZjJi % 16)) or ((Qtqma and 0xFFFF) shr (16 - (LZjJi % 16)))) and 0xFFFF } } } Qtqma = (Qtqma xor 0x1E6F) and 0xFFFF Qtqma = (Qtqma xor LZjJi) and 0xFFFF Qtqma = (((Qtqma and 0xFFFF) shl (LZjJi % 16)) or ((Qtqma and 0xFFFF) shr (16 - (LZjJi % 16)))) and 0xFFFF Qtqma = ((Qtqma and 0xFFFF) - 1) and 0xFFFF for (DBMXv in 0 until 4) { Qtqma = (((Qtqma and 0xFFFF) shr (LZjJi % 16)) or ((Qtqma and 0xFFFF) shl (16 - (LZjJi % 16)))) and 0xFFFF for (SvQUI in 0 until 3) { Qtqma = (Qtqma xor ((Qtqma and 0xFFFF) shr 10)) and 0xFFFF } Qtqma = ((Qtqma and 0xFFFF) - LZjJi) and 0xFFFF } for (wIdsO in 0 until 4) { for (bQekV in 0 until 3) { for (ybGvH in 0 until 2) { Qtqma = ((Qtqma and 0xFFFF) - 0xC2FD) and 0xFFFF } Qtqma = ((Qtqma and 0xFFFF) - 1) and 0xFFFF } for (FbYSu in 0 until 2) { Qtqma = (((Qtqma and 0xFFFF) shl 4) or ((Qtqma and 0xFFFF) shr 12)) and 0xFFFF for (FlDtI in 0 until 4) { Qtqma = ((Qtqma and 0xFFFF) + 0xDAE9) and 0xFFFF Qtqma = ((Qtqma and 0xFFFF) - 1) and 0xFFFF } } for (MFZJI in 0 until 3) { Qtqma = (Qtqma xor 0x4B9F) and 0xFFFF } } for (aIwem in 0 until 2) { Qtqma = ((Qtqma and 0xFFFF) - 1) and 0xFFFF Qtqma = (Qtqma xor LZjJi) and 0xFFFF Qtqma = ((Qtqma and 0xFFFF) - LZjJi) and 0xFFFF } for (zEwAM in 0 until 4) { Qtqma = (((Qtqma and 0xFFFF) shr 1) or ((Qtqma and 0xFFFF) shl 15)) and 0xFFFF } for (ygZUD in 0 until 2) { for (jgfsh in 0 until 2) { for (bwAuM in 0 until 3) { Qtqma = ((Qtqma and 0xFFFF) - LZjJi) and 0xFFFF Qtqma = (Qtqma xor 0xA8C1) and 0xFFFF } } } for (SmKCk in 0 until 2) { Qtqma = ((Qtqma and 0xFFFF) - 0x2E59) and 0xFFFF Qtqma = (((Qtqma and 0xFFFF) shr 8) or ((Qtqma and 0xFFFF) shl 8)) and 0xFFFF for (nFtXV in 0 until 4) { Qtqma = ((Qtqma and 0xFFFF) + 0xB7F5) and 0xFFFF } } for (lmKPC in 0 until 4) { for (xrXVo in 0 until 4) { Qtqma = (((Qtqma and 0xFFFF) shl (LZjJi % 16)) or ((Qtqma and 0xFFFF) shr (16 - (LZjJi % 16)))) and 0xFFFF } for (eFaSv in 0 until 2) { for (zauAC in 0 until 4) { Qtqma = (((Qtqma and 0xFFFF) xor 0xFFFF) + 1) and 0xFFFF } for (HOFwY in 0 until 3) { Qtqma = (Qtqma xor ((Qtqma and 0xFFFF) shr 15)) and 0xFFFF Qtqma = (Qtqma xor 0x249B) and 0xFFFF Qtqma = (((Qtqma and 0xFFFF) shr 8) or ((Qtqma and 0xFFFF) shl 8)) and 0xFFFF } Qtqma = (((Qtqma and 0xFFFF) shr (LZjJi % 16)) or ((Qtqma and 0xFFFF) shl (16 - (LZjJi % 16)))) and 0xFFFF } } for (Kheuf in 0 until 3) { Qtqma = (Qtqma xor LZjJi) and 0xFFFF for (cZgxP in 0 until 2) { Qtqma = (Qtqma xor ((Qtqma and 0xFFFF) shr 12)) and 0xFFFF Qtqma = ((Qtqma and 0xFFFF) - LZjJi) and 0xFFFF } for (UDeIb in 0 until 2) { Qtqma = (((Qtqma and 0xFFFF) shr (LZjJi % 16)) or ((Qtqma and 0xFFFF) shl (16 - (LZjJi % 16)))) and 0xFFFF Qtqma = (Qtqma xor LZjJi) and 0xFFFF } } kotlinSecret += (Qtqma and 0xFFFF).toChar() } println(kotlinSecret)
<script type="text/javascript"> // encrypted with https://www.stringencrypt.com (v1.5.0) [JavaScript] // hiddenJavaScriptString = "How to encrypt string in JavaScript? That\'s how!" var hiddenJavaScriptString; hiddenJavaScriptString = String.fromCharCode(0x16, 0x1A, 0x4B, 0x5F, 0xA2, 0xB5, 0x72, 0xB7, 0x13, 0x17, 0x51, 0x45, 0x31, 0x5B, 0x66, 0xD6, 0x78, 0x00, 0xEF, 0x0A, 0xAF, 0x64, 0x35, 0x78, 0x93, 0xC7, 0x2F, 0x20, 0x26, 0xAA, 0x8C, 0x84, 0x18, 0xF5, 0x49, 0x38, 0x14, 0xB3, 0x1C, 0x20, 0x34, 0x81, 0x8A, 0x6B, 0x13, 0xC7, 0x56, 0x81); for (var bSfCi = 0, egLpQ = 0; bSfCi < 48; bSfCi++) { egLpQ = hiddenJavaScriptString.charCodeAt(bSfCi); for (var aQdCH = 0; aQdCH < 3; aQdCH++) { egLpQ = (((egLpQ & 0xFF) >>> 4) | ((egLpQ & 0xFF) << 4)) & 0xFF; } egLpQ = (egLpQ ^ ((egLpQ & 0xFF) >>> 4)) & 0xFF; for (var EbHLk = 0; EbHLk < 2; EbHLk++) { egLpQ = ((egLpQ & 0xFF) + 1) & 0xFF; egLpQ = (egLpQ ^ bSfCi) & 0xFF; } for (var jxAbD = 0; jxAbD < 4; jxAbD++) { for (var bZsUm = 0; bZsUm < 3; bZsUm++) { egLpQ = (egLpQ ^ (((egLpQ & 0xFF) << 5) & 0xFF)) & 0xFF; } for (var gHYeD = 0; gHYeD < 4; gHYeD++) { egLpQ = ((egLpQ & 0xFF) + 0x93) & 0xFF; egLpQ = ((egLpQ & 0xFF) - bSfCi) & 0xFF; for (var coFQk = 0; coFQk < 2; coFQk++) { egLpQ = (((egLpQ & 0xFF) >>> (bSfCi % 8)) | ((egLpQ & 0xFF) << (8 - (bSfCi % 8)))) & 0xFF; egLpQ = ((egLpQ & 0xFF) + 0xB2) & 0xFF; } } } for (var TwAVr = 0; TwAVr < 2; TwAVr++) { for (var usPxq = 0; usPxq < 4; usPxq++) { egLpQ = ((egLpQ & 0xFF) - bSfCi) & 0xFF; egLpQ = (((~(egLpQ & 0xFF)) & 0xFF) + 1) & 0xFF; egLpQ = (egLpQ ^ 0x6A) & 0xFF; } } egLpQ = (((egLpQ & 0xFF) << (bSfCi % 8)) | ((egLpQ & 0xFF) >>> (8 - (bSfCi % 8)))) & 0xFF; egLpQ = (egLpQ ^ (((egLpQ & 0xFF) << 6) & 0xFF)) & 0xFF; egLpQ = ((egLpQ & 0xFF) - 0x01) & 0xFF; egLpQ = (((egLpQ & 0xFF) >>> (bSfCi % 8)) | ((egLpQ & 0xFF) << (8 - (bSfCi % 8)))) & 0xFF; for (var CXibH = 0; CXibH < 3; CXibH++) { for (var vHdOC = 0; vHdOC < 4; vHdOC++) { egLpQ = ((egLpQ & 0xFF) + 0x20) & 0xFF; } for (var yvjew = 0; yvjew < 2; yvjew++) { for (var onYQB = 0; onYQB < 4; onYQB++) { egLpQ = (egLpQ ^ bSfCi) & 0xFF; } egLpQ = (((egLpQ & 0xFF) >>> 4) | ((egLpQ & 0xFF) << 4)) & 0xFF; egLpQ = (((egLpQ & 0xFF) << (bSfCi % 8)) | ((egLpQ & 0xFF) >>> (8 - (bSfCi % 8)))) & 0xFF; } } for (var KqaIN = 0; KqaIN < 3; KqaIN++) { egLpQ = ((egLpQ & 0xFF) - 1) & 0xFF; egLpQ = (((egLpQ & 0xFF) >>> 4) | ((egLpQ & 0xFF) << 4)) & 0xFF; for (var uiNqF = 0; uiNqF < 2; uiNqF++) { egLpQ = (egLpQ ^ (((egLpQ & 0xFF) << 5) & 0xFF)) & 0xFF; for (var kGYAO = 0; kGYAO < 4; kGYAO++) { egLpQ = (((egLpQ & 0xFF) >>> (bSfCi % 8)) | ((egLpQ & 0xFF) << (8 - (bSfCi % 8)))) & 0xFF; egLpQ = ((egLpQ & 0xFF) - 1) & 0xFF; egLpQ = (egLpQ ^ 0x1B) & 0xFF; } for (var oCMrO = 0; oCMrO < 2; oCMrO++) { egLpQ = (egLpQ ^ (((egLpQ & 0xFF) << 6) & 0xFF)) & 0xFF; egLpQ = ((egLpQ & 0xFF) + 1) & 0xFF; } } } egLpQ = (((egLpQ & 0xFF) << 6) | ((egLpQ & 0xFF) >>> 2)) & 0xFF; for (var kincR = 0; kincR < 2; kincR++) { egLpQ = ((egLpQ & 0xFF) + 0x0F) & 0xFF; egLpQ = ((egLpQ & 0xFF) + bSfCi) & 0xFF; egLpQ = (egLpQ ^ ((egLpQ & 0xFF) >>> 5)) & 0xFF; } for (var ExphN = 0; ExphN < 3; ExphN++) { egLpQ = (egLpQ ^ ((
PELock/StringEncrypt-WebAPI is a public repo on GitHub by PELock. String Encryption and File Encryption for C/C++, C#, Visual Basic .NET, Delphi/Pascal/Object Pascal, Java, JavaScript, Python, Ruby, AutoIt, PowerShell, Haskell, MASM, FASM programming languages.
It declares the Apache-2.0 license on GitHub.
Its maker tagged it for Windows. That is declared by the maker; Take My Repo has not tested it.
Open "Take it" on its page: Take My Repo writes an install plan for your machine and hands it to your AI agent (Claude Code, Codex or Cursor), which asks you before each step. Take My Repo has not tested it on any machine.
Its last change on GitHub was on 2026-04-29. Take My Repo does not judge from that whether it is maintained.
Nobody has reviewed it on Take My Repo yet, which says nothing about its quality.
Reverse engineer anything with agents, from app behavior down to native binaries.
The Free Software Media System - Server Backend & API
A lightweight client for managing MariaDB, MySQL, SQL Server, PostgreSQL, SQLite, Interbase and Firebird, written in Delphi and Lazarus/FreePascal

A list of Free Software network services and web applications which can be hosted on your own servers
[Skype Silk Codec SDK]Decode silk v3 audio files (like wechat amr, aud files, qq slk files) and convert to other format (like mp3). Batch conversion support.
This page is also available as structured data, with the same sources and dates.
/api/v1/resources/gh/PELock/StringEncrypt-WebAPITake My Repo has not tested this on your machine. Requirements come from the project's own documentation.