Keccak uses a sponge function which is cool but what benefits does keccak have over sha-256 for cryptography operations in the code? thanks


While Monero does not use Keccak for its hashing, one advantage of using CryptoNote is to prevent Monero from immediately being able to be mined by ASICs. There is tremendous investment in SHA-256 hashing because of Bitcoin's popularity, so using a less popular / more memory intensive standard allows Monero to be mined by the "common man"- at least until ASICs are developed.

  • 1
    monero does not use keccak as a pow. cryptonight is a bunch of random hash functions afaik, but i am referring to crypto operations in the monero code not the mining – samwellj Dec 11 '16 at 3:19
  • @samwellj Yes, I should have clarified that monero does not use keccak. – Daniel Ternyak Dec 12 '16 at 2:40
  • @DanielTernyak You can still edit your answer to clarify – Smart Kid Dec 20 '16 at 18:26

Keccak has "built-in" protection against length extension attacks.

Edit: spelling

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.