aboutsummaryrefslogtreecommitdiff
path: root/gnunet/crypto.py
diff options
context:
space:
mode:
Diffstat (limited to 'gnunet/crypto.py')
-rw-r--r--gnunet/crypto.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/gnunet/crypto.py b/gnunet/crypto.py
new file mode 100644
index 0000000..b81b49d
--- /dev/null
+++ b/gnunet/crypto.py
@@ -0,0 +1,10 @@
1from gnunet import _Key
2import gnunet.strings as strings
3
4class EcdsaPublicKey(_Key):
5 def __init__(self, arg):
6 _Key.__init__(self, arg, EcdsaPublicKey, 256)
7
8 def __repr__(self):
9 return "gnunet.crypto.EcdsaPublicKey('" + str(self) + "')"
10