summaryrefslogtreecommitdiff
path: root/ecdsa/__init__.py
blob: 0ba98be3e658561c04e29bf48ce1a83e42b59417 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

from keys import SigningKey, VerifyingKey, BadSignatureError, BadDigestError
from curves import NIST192p, NIST224p, NIST256p, NIST384p, NIST521p

_hush_pyflakes = [SigningKey, VerifyingKey, BadSignatureError, BadDigestError,
                  NIST192p, NIST224p, NIST256p, NIST384p, NIST521p]
del _hush_pyflakes

# This code comes from http://github.com/warner/python-ecdsa

try:
    from _version import __version__ as v
    __version__ = v
    del v
except ImportError:
    __version__ = "UNKNOWN"