privacy-scaling-explorations / acceleration-program

Accelerate Early Stage Programmable Cryptography Talents
98 stars 7 forks source link

Self Proposed Open Task: Elliptic Curve Integrated Encryption Scheme (ECIES) Implementation in Circom #64

Closed 0xVikasRushi closed 1 month ago

0xVikasRushi commented 3 months ago

Self Proposed Open Task: [Elliptic Curve Integrated Encryption Scheme (ECIES) Implementation in Circom]

Executive Summary

Project Details

Qualifications

Team 👥:

Team's Experience:

Github: https://github.com/crema-labs Website: https://crema.sh/

Administrative Details

Timeline

Week 1

Task Description Time
Research Research on ECIES encryption scheme , its components and potential use cases 2 day
Research Enhance understanding of KDF functions and potential issues raised regarding HKDF in the past. 1 day
Refactor Refactor our AES implementation to be more suited for ECIES. 1 day
Testing Add more tests for the AES implementation according to NIST test vectors. 1 day
Documentation Update the documentation with the new changes. 1 day

Week 2

Task Description Time
Implementation Optimising HMAC with SHA-256 1 day
Testing Testing HMAC with SHA-256 with NIST test vectors 1 day
Implementation Implement HKDF with SHA-256 1 day
Testing Testing HKDF with SHA-256 1 day
Testing Test ECC operations for secp256k1 and secp256r1 2 day

Week 3

Task Description Time
Implementation Implement ECIES encryption scheme 1 day
Testing Testing ECIES encryption scheme 1 day
Implementation Implement HMAC and HKDF for all key lengths 2 day
Testing Testing HMAC and HKDF for all key lengths 1 day
Documentation Update the documentation with the new changes. 1 day
Testing Integration testing of all components 1 day

Week 4

This is an optional week for any additional testing or for implementing ; Zanity, A ZK Vanity Address Generator which would serve as a practical example and a use case for ECIES encryption scheme.

Additional Information

NOOMA-42 commented 1 month ago

In our latest internal decision, we've decided to close the self-proposed open task track due to difficulties in finding a grant liaison. However, you can still submit your application to ESP. Here’s the ESP site: https://esp.ethereum.foundation/

NOOMA-42 commented 1 month ago

[Update] could potentially got a grant liaison according to the thread here and pending now for other grant complete: https://discord.com/channels/943612659163602974/1259768759514828853