Emad's public key

Public Key:
842d74b280c97d449b549978c8ca14efa98f4516db4a17520cee26eaa8e795c433f1aed2815a81220b9913e96a5852c825cd99e7130d398a31789fb1706ee86a
Address
112c50e42eb559a3f9e0ea13a935c1a17fb50911

1 Like

Awesome Emad! How did you do the Keccak encoding :)?

Hello @emadg.kamel!
If you’re looking for an example for how to do the second part of the assignment, please check out this thread: Afzal's Public Key & Address from @afzal and @tintin -

As a reminder here’s step three of this week’s assignment:

Step 3: Send a secret message and decode it with another member of the community. You must use a SHARED SECRET and ALL the information must be published visibly on the community forum.

How will you create that shared secret? Use your creativity!

Perhaps you can use their public keys? So comment on someone else’s public key post and communicate with them. Perhaps you can implement a sort of diffie-hellman shared secret. Agree with them on what could be a common secret with all your communication happening publicly. Write a secret message, (make it worth the trouble, make it fun!) and publish it as a reply to their public key post. If you feel like it you can match with more than one person, perhaps you can replicate a “Whisper-like” protocol. What’s something interesting that becomes possible once you understand and implement a publicly creatbale shared secret?

Hi @emadg.kamel

Using your publicKey, I have encrypted a message for you to decrypt.

Here is the encrypted message for your next steps:

{iv: “8d7976c40faf8724f95ffe0544d855f0”, ephemPublicKey: “04cb816a06f051fbddd86e8ed9bfdbb742d6a332b236699931f211a30c5258b72c4089d6b18152aed589ed00f0ec45a64979da746f105660afd86f0c09532fd760”, ciphertext: “44319201627cac94db710973d45993f15b2f61d26236a724a593d9f7d8bfa311d500724d0797c0c56c646e1162a6862916d6e4c01605a4d7b56c65897fc618eb630cf48f479b069c2df6a057bd03171deb3d278c0a3cdbe71e3e52be9866393870f134763c60d4e3a98c794ef0d67fc4e4e1da84f83425418540f2ef4dd4e8091cbf34593518a877295a6fb9c523445539b31448b1b1d79cac49abda501a4db0fde2cca92b9a45bfb8e46ee3f4463b9e41f3bce23674c9c566b0ccc1b2bcbe6c3780c1b6db421ff17dda20cb57ffbefd753b951a51df0ee247dcbeba78a0be51eacd3cc0f6d475597d3cadc0ca067797”, mac: “4573cbc6de7da810ae97ecf48f6ba3eba55077337eb401b934b74d57953c5792”}

Using eth-crypto and your public key:

7733b58853c22ffd5fa057d563a536de03d5125bd1bce680d11d6deccd0a53c25f52a36bfa812f87c1349e9d7c08fcabaf4d653e01f0f387844e2b621b5d700a4a0adde202c901e58634427d738b4de6268a4a78d448287d75ca8b04de311fe4ed603b9f96d7b710fa34fe9a32cf7917092fd6bf7f9f127948391e148c8cc0f205e4a59f01c40ac2afbf40f1a3e9f5af69c686254fbd15a2f784a0f9726c1ed452c43835d9bf0b50de530315b8ac8847bd684a61033a33c6b3c651e1ded0358e0f1d035d0fd95869f48e3e1d93833314dc16d9e4a19ac7556e487ba333f68d800b28983951b50589b5c6188c6d70d9ae3358abb25a6412caafd59b0ffcdc61ee989ad201507b6c1a394606134881fc9e111ad0eb399e6cc2af4db09af15892049226a0b16f0ca4ef2d9ad55924805873d59cafa7814c434b3837c2f19c946ce8d1