I cannot figure out how to provide a type that implements Digest for creating a SharedSecret and there is no examples or documentation which show how to get a shared secret from a secret key and a public key (from a different key-pair). It would help if an example was provided as to how to generate a shared secret using ECDH with this library.
I cannot figure out how to provide a type that implements Digest for creating a SharedSecret and there is no examples or documentation which show how to get a shared secret from a secret key and a public key (from a different key-pair). It would help if an example was provided as to how to generate a shared secret using ECDH with this library.