aboutsummaryrefslogtreecommitdiff
path: root/gnunet/crypto.py
blob: 461b0cc231aaa41fb074fc9156628fe71593dbb2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
from gnunet import _Key
import gnunet.strings as strings


class EcdsaPublicKey(_Key):
    def __init__(self, arg):
        _Key.__init__(self, arg, EcdsaPublicKey, 256)

    def __repr__(self):
        return "gnunet.crypto.EcdsaPublicKey('" + str(self) + "')"