Wikipedia lists "Hash function algorithms" within the "Hash function" page. I'm wondering what are the differences and if I can use the terms "hash(ing?) algorithm" and "hash function" interchangeably.

  • $\begingroup$ Hash is the function, algorithm is the implementation. $\endgroup$ – DannyNiu Jul 18 '19 at 5:16
  • 2
    $\begingroup$ @DannyNiu That's not true. An algorithm is an abstract concept. $\endgroup$ – forest Jul 18 '19 at 7:16

Strictly speaking, an algorithm is a method of computing a function. The function is the thing you stick an input into and get an output from. The algorithm is how it does it. In the context of cryptography, however, hash function and hash algorithm are often used interchangeably. People will know what you mean by it.

I believe hash function is the more common term though. Plain old hash is totally fine as well.


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.