Skip to content
#32: (Cryptographic) hash function episode artwork

EPISODE · Feb 8, 2021 · 4 MIN

#32: (Cryptographic) hash function

from Around IT in 256 seconds · host Tomasz Nurkiewicz

Sometimes you need to split arbitrary objects into a fixed number of groups. For example, storing a record into one out of many database nodes. Or saving a cookie in a hash table. Or distributing jobs among multiple workers. In all of these cases you later want to know, bucket or worker was chosen. Also, data should be split evenly. You don’t want one node or worker to be overloaded. The above properties are implemented by a so-called hash function. It’s an algorithm that takes arbitrary input and produces fixed-length output. A number. For the same input, often called a message, it always produces the same output, known as a hash. Ideally, different messages should produce a different hash. Even better, two slightly different messages should produce wildly different hash. In practice, hash collisions must happen. After all, we are mapping arbitrarily large messages into a fixed-length hash. Often 32- or 64-bit. Read more: https://256.nurkiewicz.com/32 Get the new episode straight to your mailbox: https://256.nurkiewicz.com/newsletter

Episode metadata supplied by the publisher feed · Published Feb 8, 2021

Embed this episode

Ready to play

#32: (Cryptographic) hash function

0:00 4:15

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

No similar episodes found.

No similar podcasts found.

Frequently Asked Questions

How long is this episode of Around IT in 256 seconds?

This episode is 4 minutes long.

When was this Around IT in 256 seconds episode published?

This episode was published on February 8, 2021.

Can I download this Around IT in 256 seconds episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.
URL copied to clipboard!