Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [string]$stringToHash = "Hello world"
- $md5 = [System.Security.Cryptography.MD5]::Create()
- [System.BitConverter]::ToString( ($md5.ComputeHash([System.Text.Encoding]::UTF8.GetBytes( $stringToHash )))) -replace '-'
Advertisement