plonky2-ed25519
is a specialized implementation within the Plonky2 family, tailored specifically for the ed25519 cryptographic signature scheme. This repository builds upon the core principles of plonky2-gpu
, leveraging GPU acceleration through the CUDA framework to enhance the efficiency of cryptographic operations.
Instructions:
-
Prerequisites:
- Ensure you have a CPU with a minimum of 8 cores.
- Allocate at least 16GB of RAM.
- Utilize an NVIDIA GPU with a minimum of 12GB GPU RAM. (here we used the 2080 Ti)
- CUDA version: 12+
-
Building and Running:
- Clone the repository:
git clone https://github.com/sideprotocol/plonky2-ed25519.git
- Navigate to the project directory:
cd plonky2-ed25519
- Build the project:
./test.sh
- Clone the repository:
Test Results: Our tests demonstrate a remarkable reduction in proving time for ed25519 signatures — from 45 seconds to 5 seconds with plonky2-ed25519. This optimized performance showcases the power of GPU parallelization in cryptographic operations.
DISCLAIMER: This implementation is currently in its early stages and is not deemed production-ready. Use for experimentation and exploration purposes only.