Skip to content

Commit

Permalink
eddsa stuff
Browse files Browse the repository at this point in the history
Signed-off-by: PatStLouis <[email protected]>
  • Loading branch information
PatStLouis committed Sep 26, 2024
1 parent ee7e6cc commit 8885f2c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ async def create_proof(self, unsecured_data_document: dict, options: dict):
transformed_data = self.transformation(unsecured_data_document, options)
hash_data = self.hashing(transformed_data, proof_config)
proof_bytes = await self.proof_serialization(hash_data, options)

proof["proofValue"] = multibase.encode(proof_bytes, "base58btc")

return proof

def proof_configuration(self, options: dict):
Expand Down

0 comments on commit 8885f2c

Please sign in to comment.