Pystribog
python stribog (GOST R 34.11-2012)
Install / Use
/learn @ddulesov/PystribogREADME
pystribog
Streebog hash (GOST R 34.11-2012 ) python library
Features
- python 3.x and python 2.7 support
- use fast C(sse4.1/sse2) streebog hash function implementation based on degtyarev library
- Linux , Windows (probably OSx but not tested) supported
Requirements
- python 2.7 or python 3.8+
- gcc 7.x+ or msvc compatible with used Python version
- sse4.1 capable CPU
Building and Installation
#run in development host
#sudo apt-get install -y build-essential python3 python3-dev
git clone --depth 1 https://github.com/ddulesov/pystribog.git
cd pystribog
python3 setup.py build install
#run tests
python3 module_tests.py
#optionaly create dist
python3 setup.py bdist
Quickstart
import _pystribog
import binascii
h = _pystribog.StribogHash( _pystribog.Hash512 )
h.update(b"12345")
res = h.digest()
print( "hex512(b'12345')=", binascii.hexlify(res) )
Related Skills
node-connect
339.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
83.9kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
83.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
model-usage
339.3kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
