Gainz-ProtectData.psm1
if(!$PSScriptRoot) { $PSScriptRoot = $MyInovocation.PSScriptRoot } if(!$PSScriptRoot) { $PSScriptRoot = Split-Path $MyInovocation.MyCommand.Path } Get-Item "$PsScriptRoot\private\*.ps1" | ForEach-Object { . "$($_.FullName)" } Get-Item "$PsScriptRoot\public\*.ps1" | ForEach-Object { . "$($_.FullName)" } Export-ModuleMember -Function @( 'Protect-Blob', "Protect-String", 'Get-ProtectOptions', "Unprotect-Blob", "Unprotect-String", "ConvertTo-UnprotectedBytes" ) |