Skip to content

Instantly share code, notes, and snippets.

@chriseth
Last active July 23, 2021 21:59
Gas costs for pairings
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@chriseth
Copy link
Author

After having switched the sha256 implementation from "crypto++" to "scrypt", sha256 is about twice as fast.

@chfast
Copy link

chfast commented Mar 11, 2017

You probably should rerun the benchmarks with the new implementation. BTW, 2x speed up mean SHA256 will go from 50000 gas/ms to 100000 gas/ms, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment