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

https://github.com/pedroalbanese/gost12sum

GOST R 34.11-2012 Streebog Recursive Hasher written in Go
https://github.com/pedroalbanese/gost12sum

golang gost3411-2012 hash hashing streebog streebog-512

Last synced: 3 months ago
JSON representation

GOST R 34.11-2012 Streebog Recursive Hasher written in Go

Awesome Lists containing this project

README

        

# GOST12SUM(2)
[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](https://github.com/pedroalbanese/gost12sum/blob/master/LICENSE.md)
[![GitHub downloads](https://img.shields.io/github/downloads/pedroalbanese/gost12sum/total.svg?logo=github&logoColor=white)](https://github.com/pedroalbanese/gost12sum/releases)
[![GoDoc](https://godoc.org/github.com/pedroalbanese/gost12sum?status.png)](http://godoc.org/github.com/pedroalbanese/gost12sum)
[![Go Report Card](https://goreportcard.com/badge/github.com/pedroalbanese/gost12sum)](https://goreportcard.com/report/github.com/pedroalbanese/gost12sum)
[![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/pedroalbanese/gost12sum)](https://golang.org)
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/pedroalbanese/gost12sum)](https://github.com/pedroalbanese/gost12sum/releases)
### GOST R 34.11-2012 Streebog256/512 Hashsum Tool


Usage of gost12sum:
gost12sum [-v] [-c <hash.g12>] [-r] [-l] <file.ext>
-c string
Check hashsum file
-l Use 512 bit hash (default 256-bit)
-r Process directories recursively
-v Verbose mode (for CHECK command)

### Examples:

#### Generate hashsum list:
```sh
$ ./gost12sum [-r] [-l] "*.*" > hash.g12
```
##### Always works in binary mode.

#### Check hashsum file:
```sh
$ ./gost12sum [-v] [-l] -c hash.g12
```
##### Exit code is always 0 in vebose mode.

## License

This project is licensed under the ISC License.
##### Copyright (c) 2020-2021 Pedro F. Albanese - ALBANESE Research Lab.