Skip to content

Toy Example of the PedersenHash function to demonstrate collision avenues

License

Notifications You must be signed in to change notification settings

ncc-pbottine/ToyPedersenHash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

ToyPedersenHash

Toy implementation of the PedersenHash function used to illustrate several of its vulnerabilities when the requirements on the encoding function are not followed properly.

It accompanies the blog post entitled "Breaking Pedersen Hashes in Practice" hosted on NCC Group's Research Platform at https://research.nccgroup.com/2023/03/22/breaking-pedersen-hashes-in-practice/

The code can be run with SageMath, as follows.

> sage pedersen.sage

About

Toy Example of the PedersenHash function to demonstrate collision avenues

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages