哈希值校驗(yàn)算法主要用來針對文件是否被修改,但是每次要操作都比較麻煩,那么在win10系統(tǒng)中,我們其實(shí)可以將所有哈希值校驗(yàn)算法添加到文件右鍵菜單中,這樣就方便操作呢,可以通過注冊表來實(shí)現(xiàn),下面給大家?guī)鞼in10系統(tǒng)將所有哈希值校驗(yàn)算法添加到文件右鍵菜單中的步驟如下。
1、新建一個文本文檔,并輸入以下內(nèi)容
【W(wǎng)indows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\文件哈希校驗(yàn)]
"SubCommands"="MACTripleDES;MD5;RIPEMD160;SHA1;SHA256;SHA384;SHA512"
"MUIVerb"="文件哈希校驗(yàn)"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\MACTripleDES]
@="MACTripleDES"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\MACTripleDES\command]
@="PowerShell Get-FileHash -Algorithm MACTripleDES \\\"%1\\\" | format-list;“按任意鍵退出...”;[Console]::Readkey() | Out-Null;exit"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\MD5]
@="MD5"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\MD5\command]
@="PowerShell Get-FileHash -Algorithm MD5 \\\"%1\\\" | format-list;“按任意鍵退出...”;[Console]::Readkey() | Out-Null;exit"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\RIPEMD160]
@="RIPEMD160"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\RIPEMD160\command]
@="PowerShell Get-FileHash -Algorithm RIPEMD160 \\\"%1\\\" | format-list;“按任意鍵退出...”;[Console]::Readkey() | Out-Null;exit"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\SHA1]
@="SHA1"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\SHA1\command]
@="PowerShell Get-FileHash -Algorithm SHA1 \\\"%1\\\" | format-list;“按任意鍵退出...”;[Console]::Readkey() | Out-Null;exit"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\SHA256]
@="SHA256"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\SHA256\command]
@="PowerShell Get-FileHash -Algorithm SHA256 \\\"%1\\\" | format-list;“按任意鍵退出...”;[Console]::Readkey() | Out-Null;exit"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\SHA384]
@="SHA384"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\SHA384\command]
@="PowerShell Get-FileHash -Algorithm SHA384 \\\"%1\\\" | format-list;“按任意鍵退出...”;[Console]::Readkey() | Out-Null;exit"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\SHA512]
@="SHA512"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\SHA512\command]
@="PowerShell Get-FileHash -Algorithm SHA512 \\\"%1\\\" | format-list;“按任意鍵退出...”;[Console]::Readkey() | Out-Null;exit"】
2、點(diǎn)擊記事本左上角的【文件】,在下拉菜單中點(diǎn)擊【另存為】;
3、在另存為窗口中,點(diǎn)擊窗口左側(cè)的【桌面】,在文件名(N)欄中輸入:層疊菜單.reg,再點(diǎn)擊:保存;
4、回到系統(tǒng)桌面,左鍵雙擊【層疊菜單.reg】注冊表文件圖標(biāo),在彈出的注冊表編輯器對話框中先后點(diǎn)擊:是(Y)和確定;
5、大功告成,獻(xiàn)上文件右鍵菜單效果圖:
6、多種哈希算法校驗(yàn)效果圖:
關(guān)于Win10系統(tǒng)如何將所有哈希值校驗(yàn)算法添加到文件右鍵菜單中就給大家介紹到這邊了,有需要的用戶們可以按照上面的方法來操作。
網(wǎng)友評論