Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pedroalbanese/sm3sum
GM/T 0004-2012 SM3 Recursive Hasher
https://github.com/pedroalbanese/sm3sum
digest hashing hashsum sm3 sm3-digest-algorithm
Last synced: 13 days ago
JSON representation
GM/T 0004-2012 SM3 Recursive Hasher
- Host: GitHub
- URL: https://github.com/pedroalbanese/sm3sum
- Owner: pedroalbanese
- License: isc
- Created: 2021-04-11T00:07:03.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-14T22:57:09.000Z (over 2 years ago)
- Last Synced: 2024-11-09T15:11:59.268Z (2 months ago)
- Topics: digest, hashing, hashsum, sm3, sm3-digest-algorithm
- Language: Go
- Homepage:
- Size: 34.2 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# SM3SUM(2)
[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](https://github.com/pedroalbanese/sm3sum/blob/master/LICENSE.md)
[![GitHub downloads](https://img.shields.io/github/downloads/pedroalbanese/sm3sum/total.svg?logo=github&logoColor=white)](https://github.com/pedroalbanese/sm3sum/releases)
[![GoDoc](https://godoc.org/github.com/pedroalbanese/sm3sum?status.png)](http://godoc.org/github.com/pedroalbanese/sm3sum)
[![Go Report Card](https://goreportcard.com/badge/github.com/pedroalbanese/sm3sum)](https://goreportcard.com/report/github.com/pedroalbanese/sm3sum)
[![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/pedroalbanese/sm3sum)](https://golang.org)
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/pedroalbanese/sm3sum)](https://github.com/pedroalbanese/sm3sum/releases)
### GM/T 0004-2012 SM3 Recursive Hasher
Usage of sm3sum:
sm3sum [-c <hash.ext>] [-r] <file.ext>
-c string
Check hashsum file
-r Process directories recursively
### Examples:#### Generate hashsum list:
```sh
$ ./sm3sum [-r] "*.*" > hash.txt
```#### Check hashsum file:
```sh
$ ./sm3sum -c hash.txt
$ echo $?
```## License
This project is licensed under the ISC License.
##### Copyright (c) 2020-2022 Pedro F. Albanese - ALBANESE Research Lab.