|
||
---|---|---|
src | ||
.gitignore | ||
Cargo.toml | ||
LICENSE | ||
README.md | ||
env.example |
README.md
MECA
Make Ethereum Cypherpunk Again: Asymmetric Encryption using an EOA, by using the ECIES on ECDSA
Use Case Example
- Bob and Alice publish their ecdsa key paired with his public address in a smart contract
- Alice gets Bob public address and ecdsa key.
- Alice writes a message to Bob.
- Alice encrypts the message using ecies with ecdsa bobs public address
- Alice stores the encrypted message in IPFS and gets an CID.
- Alice signs an push a transaction with the encrypted message CID using Bobs public ethereum address
- Bob verifies signature and get the CID file fetching it from IPFS.
- Bob decripts the CID fetche message using his ecdsa private key.