aboutsummaryrefslogtreecommitdiff
path: root/scripts/SHA256Hash.ps1
diff options
context:
space:
mode:
authoryurybura <yurybura@gmail.com>2018-05-11 13:33:49 +0300
committerGitHub <noreply@github.com>2018-05-11 13:33:49 +0300
commit9535a5631ac212b1c657a02be3ed9398df30c96c (patch)
treea1124b7b5d81606c6d7413bb7075e8bdbc6afad3 /scripts/SHA256Hash.ps1
parent92eb878b3efdb780097178125066a6070869c954 (diff)
parent9a19dae13a0fa594245db2df45ec54a504bc82f3 (diff)
downloadvcpkg-9535a5631ac212b1c657a02be3ed9398df30c96c.tar.gz
vcpkg-9535a5631ac212b1c657a02be3ed9398df30c96c.zip
Merge pull request #1 from Microsoft/master
update
Diffstat (limited to 'scripts/SHA256Hash.ps1')
-rw-r--r--scripts/SHA256Hash.ps19
1 files changed, 0 insertions, 9 deletions
diff --git a/scripts/SHA256Hash.ps1 b/scripts/SHA256Hash.ps1
deleted file mode 100644
index 348d461b7..000000000
--- a/scripts/SHA256Hash.ps1
+++ /dev/null
@@ -1,9 +0,0 @@
-[CmdletBinding()]
-Param(
- [Parameter(Mandatory=$True)]
- [String]$Value
-)
-
-$sha256 = New-Object -TypeName System.Security.Cryptography.SHA256CryptoServiceProvider
-$utf8 = New-Object -TypeName System.Text.UTF8Encoding
-[System.BitConverter]::ToString($sha256.ComputeHash($utf8.GetBytes($Value)))