Skip to content

ezamriy/python-streebog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

python-streebog

Python ctypes wrapper for the GOST R 34.11-2012 (RFC 6986) hash function. Internally, it uses the streebog C library developed by Alexey Degtyarev.

Prerequisites

To use this Python module, you need to install the streebog shared library on your system. You can do this in two ways:

  1. Install pre-built RPM packages from my OBS repository. See the README.md in the corresponding repository (Gitverse mirror: README.md) for detailed instructions.
  2. Build and install the library manually. The upstream project's build scripts do not support this out of the box, but you can find the required patches in my fork.

Installation

Use the following commands to install python-streebog using pip:

# From Github mirror:
$ pip install git+https://github.com/ezamriy/python-streebog.git@0.1.0

# From Gitverse mirror:
$ pip install git+https://gitverse.ru/ezamriy/python-streebog.git@0.1.0

Usage

See the tests directory for usage examples.

License

This project is dual-licensed. You may choose to use it under either:

at your option.

SPDX-License-Identifier: BSD-2-Clause OR GPL-2.0-or-later

python-streebog uses streebog by Alexey Degtyarev, which is licensed under the same dual terms. See its repository for details.

Authors

About

Python ctypes wrapper for GOST R 34.11-2012 (RFC 6986) hash function. Uses the streebog C library by Alexey Degtyarev.

Topics

Resources

License

BSD-2-Clause, GPL-2.0 licenses found

Licenses found

BSD-2-Clause
LICENSE
GPL-2.0
LICENSE.GPL2

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages