Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

View signMessage return issues. #93

Open
febevan opened this issue Oct 8, 2024 · 1 comment
Open

View signMessage return issues. #93

febevan opened this issue Oct 8, 2024 · 1 comment

Comments

@febevan
Copy link

febevan commented Oct 8, 2024

"What algorithm is used to encrypt signMessage, and why is the encrypted result a long string?"

example:

message: 'abcd'

signMessage: '0x000000000000000000000000ca11bde05977b3631167028862be2a173976ca110000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000001e482ad56cb0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000ba5ed0c6aa8c49038f819e587e2633c4a9f428a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000e43ffba36f00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000040bd6103c9a645ddeee42948acc67a2b5a2c84f73b140df147dfeea20a9549c48ccaf725e0a13cdca10d3c1e6d6f5254bfb76def021ea85e21717531df7d141205000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002800000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000001700000000000000000000000000000000000000000000000000000000000000019d9f96a59513e05a81a6b1a1bad6a08d9ec71404b74df8b1041ee2f7d5346db765f90742515f2c99119e748f8586efd4b55a062f2c004c28dcc9ffd8fd085e0b0000000000000000000000000000000000000000000000000000000000000025f198086b2db17256731bc456673b96bcef23f51d1fbacdd7c4379ef65465572f1d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008a7b2274797065223a22776562617574686e2e676574222c226368616c6c656e6765223a224a4a776336474335736d42484c6f57547653525468507a457446784e6945536f7663705f79733957305955222c226f726967696e223a2268747470733a2f2f6b6579732e636f696e626173652e636f6d222c2263726f73734f726967696e223a66616c73657d000000000000000000000000000000000000000000006492649264926492649264926492649264926492649264926492649264926492'

Expected to obtain: 0x1efc75928ec497974f34df031a250c9e6892e0323f8ea872a0e3ea3587608d356188e76e35a1b5836555b20c2faeef5eff5f64b01719f3b567bc357edaae3e4f1b

@aivarsmarti
Copy link

«Какой алгоритм используется для шифрования signMessage и почему зашифрованный результат представляет собой длинную строку?»

пример:

сообщение: 'abcd'

signMessage: ''

Ожидается получить: 0x1efc75928ec497974f34df031a250c9e6892e0323f8ea872a0e3ea3587608d356188e76e35a1b5836555b20c2faeef5eff5f64b01719f3b567bc357edaae3e4f1b

??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants