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
Minimum PowerShell version
5.1
Installation Options
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
Dependencies
This module has no dependencies.
Release Notes
- 0.1.0 -- Early Release to gather feedback.
FileList
- Gz-ProtectData.nuspec
- Gz-ProtectData.psd1
- Gz-ProtectData.psm1
- LICENSE
- README.md
- private\New-ProtectBlobKey.ps1
- private\New-ProtectBlobSalt.ps1
- public\Add-GzProtectDataAlias.ps1
- public\ConvertTo-GzUnprotectedByte.ps1
- public\Get-GzProtectDataOption.ps1
- public\Protect-GzBlob.ps1
- public\Protect-GzString.ps1
- public\Unprotect-GzBlob.ps1
- public\Unprotect-GzString.ps1
Version History
Version | Downloads | Last updated |
---|---|---|
0.1.0 (current version) | 354 | 3/23/2019 |