Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.