Crates.io | kzg |
lib.rs | kzg |
version | 0.7.0 |
source | src |
created_at | 2021-08-16 12:41:27.850428 |
updated_at | 2021-11-06 15:33:21.051348 |
description | a simple implementation of the KZG polynomial commitment scheme |
homepage | |
repository | https://github.com/Sladuca/kzg |
max_upload_size | |
id | 437943 |
size | 66,085 |
This code has not beed audited - use it at your own risk.
kzg
is a simple implementation of the Kate-Zaverucha-Goldberg polynomial commitment scheme over the zkcrypto
ecosystem's primitives, mainly their pairing
abstraction.
kzg
implements the "simple" variant described in the paper as "DL", including batched openings.
I wrote this mostly to learn and partly because the arkworks-polycommit
is hard to use and only implements the pederson variant of KZG, which is unnecessary for many use cases, in particular vector commitment schemes that don't care about the unconditional hiding property the pederson variant of KZG provides like this.