Panama (cryptography)

Panama is a cryptographic primitive which can be used both as a hash function and a stream cipher, but its hash function mode of operation has been broken and is not suitable for cryptographic use. Based on StepRightUp, it was designed by Joan Daemen and Craig Clapp and presented in the paper Fast Hashing and Stream Encryption with PANAMA on the Fast Software Encryption (FSE) conference 1998. The cipher has influenced several other designs, for example MUGI and SHA-3.[2][3]

Panama (cipher)
General
DesignersJoan Daemen,
Craig Clapp
First publishedDecember 1998[1]
Derived fromStepRightUp
SuccessorsMUGI, RadioGatún, SHA-3
Cipher detail
Key sizes256 bits

The primitive can be used both as a hash function and a stream cipher. The stream cipher uses a 256-bit key and the performance of the cipher is very good reaching 2 cycles per byte.

Hash function

Panama (hash)
Cipher detail
Digest sizes256 bits
Security claims2128 (collision resistance)
Block sizes256 bits
State size8736 bits
Best public cryptanalysis
Panama hash collisions can be generated in 26 time.[4]

As a hash function, collisions have been shown by Vincent Rijmen et al. in the paper Producing Collisions for PANAMA presented at FSE 2001. The attack shows a computational complexity of 282 and with negligible memory requirements.[5]

At FSE 2007, Joan Daemen and Gilles Van Assche presented a practical attack on the Panama hash function that generates a collision in 26 evaluations of the state updating function.[4]

Guido Bertoni, Joan Daemen, Michaël Peeters, and Gilles Van Assche, at NIST's 2006 Second Cryptographic Hash Workshop, unveiled a Panama variant called RadioGatún. The hash function workings of RadioGatún does not have the known weaknesses that Panama's hash function has. In turn, RadioGatún inspired the new cryptographic standard SHA-3.[2]

gollark: That would probably cause problems. Especially since there's probably a lot of crazy law which is just mostly ignored.
gollark: Um.
gollark: That sounds pretty hard.
gollark: Take cars. Lots of people have cars, which are giant heavy metal boxes designed to move at high speeds. Those are dangerous. Lithium-ion batteries can explode or catch fire or whatnot. Maybe future technology we all depend on will have some even more dangerous component... programmable nanotech or something, who knows. *Is* there a good solution to this?
gollark: That sort of thing is arguably an increasingly significant problem, since a lot of the modern technology we depend on is pretty dangerous or allows making dangerous things/contains dangerous components.

See also

References

  1. http://www.drdobbs.com/security/the-panama-cryptographic-function/184410745
  2. http://csrc.nist.gov/groups/ST/hash/sha-3/documents/Keccak-slides-at-NIST.pdf On slide 5, it states the "starting point: fixing Panama"
  3. Bertoni, Guido; Daemen, Joan; Peeters, Michaël; Van Assche, Gilles. "The Road from Panama to Keccak via RadioGatún". Retrieved 2009-10-20.
  4. Joan Daemen, Gilles Van Assche (2007-04-04). "Producing Collisions for Panama, Instantaneously". Cite journal requires |journal= (help)CS1 maint: uses authors parameter (link)
  5. Vincent Rijmen, Bart Van Rompay, Bart Preneel, Joos Vandewalle (2001). "Producing Collisions for PANAMA". Cite journal requires |journal= (help)CS1 maint: uses authors parameter (link)
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.