mirror of
https://github.com/netchx/netch.git
synced 2026-05-11 23:45:06 +08:00
Compare commits
1 Commits
1.4.1-Beta
...
1.4.1-Beta
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8fc4e3151f |
5
GetSHA256.ps1
Normal file
5
GetSHA256.ps1
Normal file
@@ -0,0 +1,5 @@
|
||||
param([string]$file)
|
||||
$hash = [Security.Cryptography.HashAlgorithm]::Create( "SHA256" )
|
||||
$stream = ([IO.StreamReader]$file).BaseStream
|
||||
-join ($hash.ComputeHash($stream) | ForEach { "{0:X2}" -f $_ })
|
||||
$stream.Close()
|
||||
Reference in New Issue
Block a user