Calculating SHA1 hash algorithm in PowerShell V2.0

后端 未结 2 440
清歌不尽
清歌不尽 2021-01-18 03:13

Is it possible to calculate a SHA-1 hash in PowerShell V2.0?

The only information I can find online is with PowerShell V4.0.

2条回答
  •  萌比男神i
    2021-01-18 03:27

    Yes, it is possible as it is part of NET 2.0. In fact, the PowerShell Community Extensions use the .NET hash support to implement the Get-Hash command. Version 2.1.1 installs and runs on PowerShell V2.

提交回复
热议问题