aboutsummaryrefslogtreecommitdiff
path: root/gnunet/crypto.py
blob: b81b49d36f7a753a2fb538ffce4a9db731397e45 (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) + "')"