Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View jimmyweee's full-sized avatar

Jimmy G jimmyweee

View GitHub Profile
@benrobot
benrobot / HashString.ps1
Created May 11, 2017 17:17
Powershell one liner to Hash a string using SHA256
new-object System.Security.Cryptography.SHA256Managed | ForEach-Object {$_.ComputeHash([System.Text.Encoding]::UTF8.GetBytes("The string to hash goes here"))} | ForEach-Object {$_.ToString("x2")} | Write-Host -NoNewline