5

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

4

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
3

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

Edit: spelling

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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