📄 md5sum.vbs
字号:
REM
REM MD5 COM component
REM
REM Copyright (C) 2005 YeeToo Group
REM
REM This program is free software; you can redistribute it and/or modify
REM it under the terms of the GNU General Public License as published by
REM the Free Software Foundation; either version 2 of the License, or
REM (at your option) any later version.
REM
REM This program is distributed in the hope that it will be useful,
REM but WITHOUT ANY WARRANTY; without even the implied warranty of
REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
REM GNU General Public License for more details.
REM
REM You should have received a copy of the GNU General Public License
REM along with this program; if not, write to the Free Software
REM Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
REM
option explicit
dim objMD5
dim bRegister
bRegister=true
on error resume next
set objMD5=createobject("md5.md5sum")
if err.number<>0 then
msgbox "object ""md5.md5sum"" create failed," & vbCrLf & _
"maybe the MD5 COM component is not register."
bRegister=false
end if
if bRegister then
on error goto 0
dim str
str="http://www.yeetoo.net/"
msgbox "string:" & str & vbCrLf & "md5sum:" & objMD5.MD5Sum(str), _
64, _
"MD5 component testing script"
set objMD5=nothing
end if
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -