Curve25519.derive_shared_secret

You're seeing just the function derive_shared_secret, go back to Curve25519 module for more information.
Link to this function

derive_shared_secret(arg1, arg2)

View Source

Specs

derive_shared_secret(key(), key()) :: key() | :error

Derive a shared secret for a secret and public key

Given our secret key and our partner's public key, returns a shared secret which can be derived by the partner in a complementary way.