I am trying to use the function new_with_hash
from secp256k1::ecdh::SharedSecret
in Rust
but I am getting this error
no function or associated item named `new_with_hash` found for struct `SharedSecret` in the current scope
It seems like the function does not exist anymore. Is there a direct replacement for this method in the new version?