remove apiregister

This commit is contained in:
Cayo Puigdefabregas 2023-11-15 11:44:19 +01:00
parent 72a356ffc8
commit d48716f9ba
1 changed files with 0 additions and 17 deletions

View File

@ -1,17 +0,0 @@
import uuid
import hashlib
class Iota:
"""
Framework for simulate the comunication with IOTA DLT
"""
def issue_did(self):
u = str(uuid.uuid4()).encode()
d = hashlib.sha3_256(u).hexdigest()
did = "did:iota:{}".format(d)
return did
iota = Iota()