what is the purpose of the ECDSA contract ( https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/cryptography/ECDSA.sol ) ?
Contract looks like a wrapper around builtin solidity ecrecover function, without any benefits, or I've missed something?
Thank you.
Could you please add a bit more details to make the answer more clear
Checking for malleable signaturesAs far as I know, malleable signatures are not possible in Geth since homestead https://ethereum.stackexchange.com/questions/3222/does-ethereum-suffer-from-transaction-malleability . Am I missing something ?
prepending a prefixPrefix is prepended in Geth by default for data signing operations
https://github.com/ethereum/go-ethereum/blob/d8ff53dfb8a516f47db37dbc7fd7ad18a1e8a125/accounts/accounts.go#L195
– alex Sep 29 '21 at 04:27Support for 64 bytes compact signaturesWhat exactly do you mean?
ecrecoverworks the same way, with 64 bytes compact signatures
– alex Sep 29 '21 at 04:28Signature message manipulation, adding signature prefixwhat's the difference withChecking for malleable signatures, prepending a prefix?