Skip to content

Instantly share code, notes, and snippets.

View adria0's full-sized avatar
💭
crustaceanin'

adria0.eth adria0

💭
crustaceanin'
View GitHub Profile
@adria0
adria0 / Makefile
Created January 7, 2021 09:40 — forked from jwasinger/Makefile
Instructions for benchmarking Geth-evm384
all:
clang++ -O3 bench.cpp
@adria0
adria0 / KZG10.py
Created December 15, 2020 18:23 — forked from HarryR/KZG10.py
Implementation of PolyCommit_{DL} from "Constant-Size Commitments to Polynomials and Their Applications" https://www.cypherpunks.ca/~iang/pubs/PolyCommit-AsiaCrypt.pdf
from typing import List, NamedTuple, Tuple, Union
from math import ceil, log2
from random import randint
from functools import reduce
import operator
from py_ecc import bn128 as curve
"""
Implementation of PolyCommit_{DL} from: