- From: Manu Sporny <msporny@digitalbazaar.com>
- Date: Wed, 26 May 2021 13:51:56 -0400
- To: semantic-web@w3.org
Peter F. Patel-Schneider wrote: > What I would like to see is some code This was provided to you here: https://lists.w3.org/Archives/Public/semantic-web/2021May/0126.html Here are specific instructions that dig into the implementations given above and attempt to isolate the parts that you seem to be asking about: git clone git@github.com:digitalbazaar/ed25519-signature-2020.git npm i npm test If you want to look at each tests details, you can start here: https://github.com/digitalbazaar/ed25519-signature-2020/blob/main/test/Ed25519VerificationKey2020.spec.js If you want to look at the signing code, look here: https://github.com/digitalbazaar/jsonld-signatures/blob/master/lib/jsonld-signatures.js#L18-L51 If you want to look at the verification code, look here: https://github.com/digitalbazaar/jsonld-signatures/blob/master/lib/jsonld-signatures.js#L78-L109 Keep in mind that the LDP algorithms are higher-level meta-algorithms where implementations might provide additional features/protections that have more to do with developer ergonomics than anything else. Also note that part of the necessary work of the LDS WG is to update the specification based on implementer experience (as noted in the LDP spec). -- manu -- Manu Sporny - https://www.linkedin.com/in/manusporny/ Founder/CEO - Digital Bazaar, Inc. blog: Veres One Decentralized Identifier Blockchain Launches https://tinyurl.com/veres-one-launches
Received on Wednesday, 26 May 2021 17:52:13 UTC