in

Ethereum : Problems to generate address with checksum in

Ethereum update: Problems to generate address with checksum in



Hi folks,

* Address to test: `0x5aaeb6053f3e94c9b9a09f33669435e7ef1beaed`
* Etherscan tells me: `0x5aAeb6053F3E94C9b9A09f33669435E7Ef1BeAed`
* I run my code and i have: `0x5aaeb6053f3E94C9b9A09f33669435E7EF1Beaed`
* i use this as an idea [github](https://github.com/ethereum/web3.js/blob/a80d2a0232f3228c68e1a8e233efaae130306f0d/lib/utils/utils.js#L435)

SHA3-256 hash from `5aaeb6053f3e94c9b9a09f33669435e7ef1beaed` is `05774d8c80b8928f25907556bf50ae82bed82256eea4b0e66fb163f5b86a9a55`
processing is:

5 0 0 true
a 5 5 true
a 7 7 true
e 7 7 true
b 4 4 true
6 d 13 false
0 8 8 false
5 c 12 false
3 8 8 false
f 0 0 true
3 b 11 false
e 8 8 false
9 9 9 false
4 2 2 true
c 8 8 false
9 f 15 false
b 2 2 true
9 5 5 true
a 9 9 false
0 0 0 true
9 7 7 true
f 5 5 true
3 5 5 true
3 6 6 true
6 b 11 false
6 f 15 false
9 5 5 true
4 0 0 true
3 a 10 false
5 e 14 false
e 8 8 false
7 2 2 true
e b 11 false
f e 14 false
1 d 13 false
b 8 8 false
e 2 2 true
a 2 2 true
e 5 5 true
d 6 6 true

true – mean lowercase. How, HOW etherscan got `..BeAed` and not `Beaed`?




View the link

About Ethereum



Ethereum is a decentralized platform that runs smart contracts: applications that run exactly as programmed without any possibility of downtime, censorship, fraud or third-party interference.

Author: nikitasius

Score: 0

Don’t forget to share the post if you love it !

Bitcoin : “Enforcement by Guidance”: How the SEC Is Slowly Shaping ICO Regulation

Bitcoin : Does proof of work represent a hash collision?