secp256k1 icon indicating copy to clipboard operation
secp256k1 copied to clipboard

Add ellswift usage example

Open theStack opened this issue 1 year ago • 1 comments

This should hopefully be useful as orientation for users implementing the shared secret derivation part of BIP324. Conceptually the example is not very different to the ECDH one, so a lot of code/comments are just copied (e.g. context creation, secret key generation, shared secret comparison, console output, cleanup with secret key clearing).

theStack avatar Jun 25 '24 14:06 theStack

@real-or-random: Thanks for the quick review, force-pushed with all the suggestions taken.

theStack avatar Jun 25 '24 15:06 theStack