Ethereum Asked on January 3, 2022
If you were writing some instructions and one of them was:
Provide the Ethereum ECDSA signature of the file using the person’s
Ethereum address.
Would the above instruction have a consistent meaning (i.e. always produces the same output for a given file and address)? I ask because there appears to be subtly different implementations.
If not, what wording could you use to give it a consistent meaning? Perhaps with reference to EIPs…
I used:
Provide the prefixed Ethereum ECDSA signature* of the hex encoded file using the person's Ethereum address.
*As per
sign(keccak256("x19Ethereum Signed Message:n" + dataToSign.length + dataToSign)))
(e.g.web3.personal.sign
)
I think just using "Ethereum ECDSA signature" leaves ambiguity between above and the un-prefixed signature which is considered risky (for reasons I'm unsure of atm).
Answered by atomh33ls on January 3, 2022
3 Asked on December 25, 2021 by silverwrath
2 Asked on December 25, 2021 by almondous
2 Asked on December 25, 2021 by asmita-dhungana
1 Asked on December 23, 2021 by aib92
2 Asked on December 23, 2021 by prachi-sharma
aws dapp development ethereum wallet dapp go ethereum web3 py
4 Asked on December 23, 2021 by benzle
1 Asked on December 23, 2021
1 Asked on December 23, 2021
1 Asked on December 23, 2021 by minkyu
1 Asked on December 22, 2021 by siamak
1 Asked on December 22, 2021 by jespern
1 Asked on December 20, 2021 by berk
1 Asked on December 20, 2021 by svitlana-moiseyenko
2 Asked on December 18, 2021
1 Asked on December 18, 2021 by yohjinakamoto
Get help from others!
Recent Answers
Recent Questions
© 2023 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP