pub trait EciesEcSharedPoint {
// Required method
fn to_vec(&self) -> Vec<u8>;
}
Expand description
To use with ECIES, Shared points must implement this trait.
A Shared Point is the result of the multiplication of a party private key with the other party public key.
The only requirement is that they can be serialized to a byte array (which will then be hashed)