hack-a-chain-software / opact-kadena

1 stars 1 forks source link

[CIRCUIT] Implement secure encryption algorithm #24

Open veigajoao opened 1 year ago

veigajoao commented 1 year ago

Simple ElGamal encryption is not sufficient to guarantee privacy. Ethereum keypair based crypto is not yet implemented in circom.

We need to implement a viable encryption scheme for in-circuit usage so that it can be added to the main circuit and allow reading key options on transactions data.

veigajoao commented 1 year ago

https://github.com/MetaMask/eth-sig-util/blob/fb40290/src/encryption.ts#L94