StringEncrypt encrypts strings and emits language-specific decryptor source.
API: https://www.stringencrypt.com/api.php
Install-Module -Name StringEncrypt
or
Install-PSResource -Name StringEncrypt
using module StringEncrypt # or: Import-Module StringEncrypt $client = New-StringEncrypt -ApiKey 'YOUR-API-KEY-HERE'
Leave the key empty for demo mode.
Configure options with fluent setters, then EncryptString, EncryptFileContents, IsDemo, or Send().
using module StringEncrypt $client = New-StringEncrypt -ApiKey 'YOUR-API-KEY-HERE' $client.SetLanguage([Language]::cpp).SetUnicode($true).SetCmdMin(1).SetCmdMax(3) $result = $client.EncryptString('Hello!', '$label') if ($result -and $result.error -eq [ErrorCode]::SUCCESS) { Write-Host $result.source }
See examples/ for default encrypt, configured encrypt, and demo-status samples.
Author: Bartosz Wójcik / PELock — https://www.pelock.com