Windows10计算文件SHA1 SHA256 SHA384 SHA512 or MD5

Windows10计算文件SHA1 SHA256 SHA384 SHA512 or MD5?

以下命令均在Windows Powershell (管理员身份)运行

1.计算SHA1

Get-FileHash D:\utd\test.txt -Algorithm SHA1 | Format-List

SHA1.png


2.计算SHA256

Get-FileHash D:\utd\test.txt -Algorithm SHA256 | Format-List

SHA256.png


3.计算SHA384

Get-FileHash D:\utd\test.txt -Algorithm SHA384 | Format-List

SHA384.png


4.计算SHA512

Get-FileHash D:\utd\test.txt -Algorithm SHA512 | Format-List

SHA512.png


5.计算MD5

Get-FileHash D:\utd\test.txt -Algorithm MD5 | Format-List

MD5.png


6.更多

请参考文章 : https://docs.microsoft.com/zh-cn/powershell/module/microsoft.powershell.utility/get-filehash?view=powershell-7.1

posted @ 2021-08-31 23:39  虐心i  阅读(498)  评论(0编辑  收藏  举报