Gainz: Protect Data Module

Deprecated: Renaming to Gz-ProtectData

ProtectData provides functions/cmdlets that will encrypt and decrypt string or
binary data with a SecureString password or a private key made of an array of

By default, the encrypted value will also contain a computed hash of the
data to verify integrity.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name Gainz-ProtectData

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name Gainz-ProtectData

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More


Nerdy Mishka Michael Herndon


(c) 2018 Nerdy Mishka. All rights reserved.

Package Details



Protect Protect-String Protect-Blob Data DevOps Gz Gainz NerdyMishka


Protect-Blob Protect-String Get-ProtectOptions Unprotect-Blob Unprotect-String ConvertTo-UnprotectedBytes


This module has no dependencies.

Release Notes

0.1.2 - Renaming to Gz-ProtectData
0.1.0 - Early Release

The module is not documented yet. Blob and String encryption works with a
password or a private key made of bytes.  


Version History

Version Downloads Last updated
0.1.2 (current version) 347 3/17/2019
0.1.1 163 10/28/2018
0.1.0 77 8/31/2018