diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2018-04-05 17:12:59 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2018-04-06 17:24:46 -0700 |
| commit | 3f6f9f3f4d48ef0115f3095f7d8d2c6d3b0c63e1 (patch) | |
| tree | ad248a377dee440ac77bf9775eb95dc637a09117 /scripts | |
| parent | c1257f988a49b167cd9d94a0931806c6e465700a (diff) | |
| download | vcpkg-3f6f9f3f4d48ef0115f3095f7d8d2c6d3b0c63e1.tar.gz vcpkg-3f6f9f3f4d48ef0115f3095f7d8d2c6d3b0c63e1.zip | |
[metrics] Use new string-hash functions instead of ps1 script
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/SHA256Hash.ps1 | 9 |
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)))
|
