I wanted to know how much one Ethereum KECCAK-256(hash) is in FLOPS. I know bitcoin is 12,697 flops per hash.
I wanted to know how much one Ethereum KECCAK-256(hash) is in FLOPS
This question question makes no sense, for multiple reasons:
- FLOPS means Floating Operations Per Second, so first we have a missmatch of units, one or mutliple operation(s) can't be compared to operations per second.
- Second Cryptography (almost) always uses integer arithmetic for its computations and not floating point operations and so the measure of floating operations per second doesn't relate at all to the computation cost of (most) cryptographic algorithms.
- If however you were to ask how many integer operations / instructions one needs, then (sometimes) cryptographers use Million Instructions Per Second (MIPS) to express the power of a particular CPU. Then you could measure how many MIPS a CPU provides and then measure the time it takes for a particular crypto algorithm to execute and then multiply these numbers to get a rough estimate for the number of instructions a given operation requires.
- Finally, usually cryptographers these days tend to measure in cycles per byte (cpb), that is, for a given CPU architecture and a given input length $l$, how many CPU cycles did it take to finish the computation of eg $H(1^l)$ and then divide this time by $l$. Examples of this style of measurements can be found here.
- If you have your own runtime environment (eg the Ethereum VM?), then the best approach to get the cost of a particular function evaluation is either to a) look it up in some documentation or on some website where somebody has already done the math b) try to count instructions and add them together with the appropriate weights or c) just measure it.