Gz-ProtectData

0.1.0


# Gz-ProtectData Module

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
bytes.

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

## Example

$decryptedValue = "some kind of secret"
  
$key = [

# Gz-ProtectData Module

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
bytes.

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

## Example

$decryptedValue = "some kind of secret"
  
$key = [System.Text.Encoding]::UTF8.GetBytes("great-and-terrible-password")

$encryptedValue =  Protect-GzString -PrivateKey $key -Value $decryptedValue
$result = UnProtect-GzString -PrivateKey $key -Value $encryptedValue
Show more

Minimum PowerShell version

5.1

Installation Options

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

Install-Module -Name Gz-ProtectData

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

Install-PSResource -Name Gz-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

Owners

Copyright

(c) 2018 Nerdy Mishka. All rights reserved.

Package Details

Author(s)

  • Nerdy Mishka Michael Herndon

Tags

Protect Encryption Encrypt Security Protect-String Protect-Blob Data DevOps Gz Gainz NerdyMishka

Functions

Add-GzProtectDataAlias ConvertTo-GzUnprotectedByteArray Protect-GzBlob Protect-GzString Get-GzDataProtectOption Remove-GzProtectDataAlias Set-GzDataProtectOption Unprotect-GzBlob Unprotect-GzString

PSEditions

Desktop Core

Dependencies

This module has no dependencies.

Release Notes


- 0.1.0 -- Early Release to gather feedback.
        

FileList

Version History

Version Downloads Last updated
0.1.0 (current version) 358 3/23/2019