Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Ecliptic Kurwa

Partial, broken and unusable implementation of DSTU 4145-200.

We

Build Status

Usage

Generate key and select curve to sign or verify data:

from ukurwa4145 import curve, Priv

with curve('DSTU_257') as cd:
    priv, pub = Priv.generate()

    s, r = priv.sign(value_hash=0xFEFEFEFEFEFDEADF0)
    pub.verify(value_hash=0xFEFEFEFEFEFDEADF0, s=s, r=r)

    pub.verify(value_hash=0xFEFEFEFEFEFDEADF0, s=123, r=123)
    # Exception:
    #    ukurwa4145.crypto.SignatureError: Signature does not match

Links

About

DSTU 4145 cryptography implementation in Python

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.