Utilizing .Net System.Security.Cryptography.HashAlgorithm namespace to generate the message hash code with the algorithms supported.
$example="Nobody expects the Spanish Inquisition."
#calculate
$hash=[System.Security.Cryptography.HashAlgorithm]::Create("sha256").ComputeHas...