PowerShell
PowerShell
Example: SecureString.HashVal method
Demonstrates theHashVal method.
Chilkat PowerShell Downloads
Add-Type -Path "C:\chilkat\ChilkatDotNet47-x64\ChilkatDotNet47.dll"
$success = $false
$str = New-Object Chilkat.SecureString
$str.MaintainHash = "sha256"
$str.Append("Hello World")
$encodedHash = $str.HashVal("base64")
$($encodedHash)