Calculate MD5 and base64 hash of a text string

I was trying to convert some text to MD5 or base64 encoding. Here are a couple of powershell functions that can help with that task Function to convert to Base64 [sourcecode] # Function to Convert to Account name to Base64 function ConvertTo-Base64($string) { $bytes = [System.Text.Encoding]::UTF8.GetBytes($string); $encoded = [System.Convert]::ToBase64String($bytes); return …

Read moreCalculate MD5 and base64 hash of a text string