qxsch / PSEncryptor

Simple Powershell AES Encryption and Decryption

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PSEncryptor

Simple Powershell AES Encryption and Decryption

How to download and install?

(Invoke-WebRequest -Uri https://raw.githubusercontent.com/qxsch/PSEncryptor/main/encryptor.ps1).Content | Out-File encryptor.ps1

Usage

encryptor.ps1 [-text] <string> [[-key] <string>] [[-mode] Encrypt|Decrypt] [-echo] [<CommonParameters>]

Encrypt

# encrypt a string
.\encryptor.ps1 hello -key mysecret

Decrypt

# decrypt a text
.\encryptor.ps1 vTrVExZplQJfV6PCt4++L1MDlHUMjAyhhZMV77PsAjzoy8lojIEx9LfGKjK1akxm -key mysecret -mode Decrypt

About

Simple Powershell AES Encryption and Decryption

License:GNU General Public License v3.0


Languages

Language:PowerShell 100.0%