In #752, Party was introduced to replace ElligatorSwiftParty. As part of the changes, shared_secret and shared_secret_with_hasher were updated to take Into<Party> to preserve backwards compatibility. These functions should probably just be taking Party instead of Into<Party> after ElligatorSwiftParty is removed in the next major version release.
In #752,
Party
was introduced to replaceElligatorSwiftParty
. As part of the changes,shared_secret
andshared_secret_with_hasher
were updated to takeInto<Party>
to preserve backwards compatibility. These functions should probably just be takingParty
instead ofInto<Party>
afterElligatorSwiftParty
is removed in the next major version release.