# The Panama Cryptographic Function

Dec98: The Panama Cryptographic Function

## The Panama Cryptographic Function

### By Joan Daemen and Craig Clapp

Dr. Dobb's Journal December 1998

```<b>(a) </b>
for(i=0 ; i<8 ; i++) { q[i] = a[i=1]; }
<b>(b) </b>
for(i=0 ; i<8 ; i++) { q[i] = input[i]; }
<b>(c)</b>
for(j=1 ; j<25 ; j++)
{ for(i=0 ; i<8 ; i++) B[j][i] = b[j-1][i]; }
for(i=0 ; i<8 ; i++) { B[0][i] = b[31][i] ^ q[i]; }
for(j=26 ; j<32 ; j++)
{ for(i=0 ; i<8 ; i++) B[j][i] = b[j-1][i]; }
for(i=0 ; i<8 ; i++) { B[25][i] = b[24][i] ^ b[31][(i+2 )%8 ]; }
```

### More Insights

 To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.

# First C Compiler Now on Github

The earliest known C compiler by the legendary Dennis Ritchie has been published on the repository.

# HTML5 Mobile Development: Seven Good Ideas (and Three Bad Ones)

HTML5 Mobile Development: Seven Good Ideas (and Three Bad Ones)

# Building Bare Metal ARM Systems with GNU

All you need to know to get up and running... and programming on ARM

# Amazon's Vogels Challenges IT: Rethink App Dev

Amazon Web Services CTO says promised land of cloud computing requires a new generation of applications that follow different principles.

# How to Select a PaaS Partner

Eventually, the vast majority of Web applications will run on a platform-as-a-service, or PaaS, vendor's infrastructure. To help sort out the options, we sent out a matrix with more than 70 decision points to a variety of PaaS providers.

More "Best of the Web" >>