IT lexicon › Security › Panama

Panama

Security På svenska → Updated: 2026-10-12

A design that was both a hash function and a stream cipher, which looked elegant on paper and turned painful in practice.

Panama was presented in 1998 by Joan Daemen and Craig Clapp. The same internal state and the same permutation served both for hashing data and for generating a keystream. The goal was to study one well-understood building block instead of two. It is a neat design principle, and that is exactly why cryptanalysts found it so interesting.

A shared state meant that a weakness in one role spread quickly to the other. Collision attacks appeared early in the 2000s, and Panama was then left to the research literature. The lesson is that reusing one construction for two purposes is rarely free.

← Back to the lexicon