I want to be able to verify that a signature is signed by a public key's address in my smart contract method on tezos. For example with solidity see: https://ethereum.stackexchange.com/questions/2171/how-does-one-properly-use-ecrecover-to-verify-ethereum-signatures
I know there is a way to verify a signatures by public key, but I don't understand how I would apply this to my smart contract without passing the full public key (as a parameter maybe).
Is there a better way? Basically I just want to validate a signature sent to the contract was signed by the public key for a known address without knowing the full public key.
If I deal in public keys can a verify the public key represents the same address in-contract?
My apologies for any misunderstandings and if I'm not asking this question properly!