Skip to content

cryptolu/LegendrePRF

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Cryptanalysis of the Legendre PRF - Implementation

This repository contains an implementation of the attack from the paper

Cryptanalysis of the Legendre PRF and Generalizations

by Ward Beullens, Tim Beyne, Aleksei Udovenko, and Giuseppe Vitto.

The code can be used to break Challenge 2 of the Legendre PRF Bounties in under 1500 CPU-hours. For more details, please refer to the paper.

The code can be run with the following command:

$ make threads=24 target=P74
  • threads argument defines the amount of threads to be used in the second step of the attack;
  • target argument can be one of P40, P64, P74, P84.

It requires a C++ compiler to be installed. Clang++ is recommended. Furthermore, libgmp must be installed.

About

Cryptanalysis of the Legendre PRF Challenges

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published