Skip to content
Snippets Groups Projects
Commit cd0c8447 authored by inso's avatar inso
Browse files

Signature...

parent b8491dd7
Branches
Tags
No related merge requests found
......@@ -24,7 +24,7 @@ class Document:
'''
self.signatures = []
for k in keys:
self.signatures.append(k.sign(self.raw(), Base64Encoder))
self.signatures.append(k.signature(self.raw()))
def signed_raw(self):
'''
......
......@@ -27,7 +27,6 @@ class SigningKey(NaclSigningKey):
super().__init__(seed)
self.pubkey = Base58Encoder.encoder(self.vk)
class Base58Encoder(object):
@staticmethod
def encode(data):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment