Skip to content

agnxsh/rust_verkle_crypto_api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust_verkle_crypto_api

Rust-verkle cryptography API inspired by https://hackmd.io/@6iQDuIePQjyYBqDChYw_jg/H1xXvMatq

Every method expects raw bytes and return raw bytes so it can be used in FFI calls.

Exposes 4 methods enough for computing root_hash of the trie and tested against https://github.com/ethereum/go-verkle. It doesn't use proper multi_scalar_mul call so it's not yet performant enough - optimizations are needed:

  • exposed_pedersen_hash
  • exposed_pedersen_commit_to_fr
  • exposed_pedersen_commit_to_element
  • exposed_group_to_field

Exposes 2 more methods for generating the proof and verifying:

  • exposed_prove_call
  • exposed_verify_call

These are still in progress

About

Rust-verkle cryptography API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%