mirror of
https://github.com/xiaoqidun/ihash.git
synced 2024-12-03 22:39:15 +08:00
docs(使用文档): 更新说明文档
This commit is contained in:
parent
9d15351c47
commit
8d0f518e40
34
README.md
34
README.md
@ -7,4 +7,38 @@ go get -u github.com/xiaoqidun/ihash
|
||||
git clone https://github.com/xiaoqidun/ihash.git
|
||||
cd ihash
|
||||
go build ihash.go
|
||||
```
|
||||
# 校验类型
|
||||
- md5sum
|
||||
- sha1sum
|
||||
- sha256sum
|
||||
- sha512sum
|
||||
- sha3sum224
|
||||
- sha3sum256
|
||||
- sha3sum384
|
||||
- sha3sum512
|
||||
# 快捷命令
|
||||
## linux
|
||||
```
|
||||
ihash -install ./bin/
|
||||
```
|
||||
## windows
|
||||
```
|
||||
ihash -install .\bin\
|
||||
```
|
||||
# 字符校验
|
||||
```
|
||||
echo admin | md5sum
|
||||
echo admin | ihash md5sum
|
||||
```
|
||||
# 文件校验
|
||||
```
|
||||
md5sum *
|
||||
ihash md5sum *
|
||||
```
|
||||
# 传参说明
|
||||
```
|
||||
快捷命令 文件1 文件2 文件3 ...
|
||||
原始程序 校验类型 文件1 文件2 文件3 ...
|
||||
不传任何文件时从stdin(命令行)读取字符
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user