diff options
Diffstat (limited to 'gnunet/crypto.py')
-rw-r--r-- | gnunet/crypto.py | 10 |
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 @@ | |||
1 | from gnunet import _Key | ||
2 | import gnunet.strings as strings | ||
3 | |||
4 | class 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 | |||