# SipHash

DevFeed: [SipHash](<https://devfeed.tech/articles/siphash-38919.md>)

Original publisher: [Read original article](<https://idea.popcount.org/2013-01-24-siphash>)

Author: Marek

Published: 2013-01-23T23:00:00Z

Content type: tutorial

Language: en

Sources: [Marek Majkowski](<https://devfeed.tech/sources/marek-majkowski.md>)

Topics: [hash](<https://devfeed.tech/topics/hash.md>), [C](<https://devfeed.tech/topics/c.md>), [Python](<https://devfeed.tech/topics/python.md>)

Tags: [attacks](<https://devfeed.tech/tags/attacks.md>), [c](<https://devfeed.tech/tags/c.md>), [code](<https://devfeed.tech/tags/code.md>), [hash](<https://devfeed.tech/tags/hash.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [paper](<https://devfeed.tech/tags/paper.md>), [python](<https://devfeed.tech/tags/python.md>), [video](<https://devfeed.tech/tags/video.md>)

## AI overview

The article introduces SipHash, a keyed 64-bit hash designed to help prevent hash flooding attacks. It explains that SipHash uses a 128-bit secret key and arbitrary data, and describes Python and C implementations.

## Source excerpt

SipHash On 29C3 djb, Jean-Philippe Aumasson and Martin Boßlet gave a very interesting talk on SipHash (see the video). In short - SipHash is a new hash, created especially to save you from hash flooding attacks. The hash takes two parameters - a 128 bit "secret" key and an arbitrary data blob. This is different from traditional hashes which required only a data blob as an input. SipHash outputs a secure 64 bit hash. SipHash is described in detail in the extremely well written paper.