Skip to main content

Questions tagged [mixing-function]

The purpose of the mixing function is to "scramble" or mix the internal state of a hash (or cipher) function. The input to the function is the current internal state and the output of the function becomes the new internal state.

Filter by
Sorted by
Tagged with
1 vote
0 answers
56 views

What happens if the column mixing in AES is replaced by simple XOR and subtraction? [closed]

This is https://github.com/kokke/tiny-AES-c The column mixing function in the AES algorithm implemented. ...
S-N's user avatar
  • 127
0 votes
0 answers
54 views

Is blinded mixing possible?

Alice creates ordered set of $N$ public messages $(m_1,...,m_N)$ and sequentially sends them to Bob. Bob evaluates $N$ functions $E_i(m_1,...,m_N)$ (possibly using a secret random value $r$ and/or his ...
DeLorean88's user avatar
1 vote
1 answer
174 views

How unique and secure are verification codes created from different hashes?

In order to construct a short, yet cryptographically strong verification code, I'm thinking about using the output of several hashes computed over the same data (device uuids + raw certificate data). ...
Felix Schwarz's user avatar
4 votes
1 answer
923 views

How can bit slicing be constant time, when Mix Columns is in the cipher

I'm reading about bit-slicing techniques, and one thing about it caught my mind. The strength with bit sliced implementations are (apart from that they are fast) that they are running in constant ...
oPolo's user avatar
  • 367
0 votes
0 answers
88 views

RC4 via nonlinear mixer -- sound?

We implemented a rc4 (ARC4) variant for creating a cryptographic stream - question is: Is this sound? (I'll give an example for 32 bit variant, though 64 bit/larger is possible) Algorithm is as ...
Zaphod1001's user avatar
3 votes
1 answer
230 views

Construct block cipher from a smaller one with mixing function

I read about the AEZ encryption scheme as presented at the CAESAR competition. To me it seems like a construction of an arbitrary length block cipher from a smaller one. The key component is the ...
Curious Sam's user avatar
5 votes
3 answers
2k views

AES column mixing and S-Box confusion

I am trying to understand the AES encryption algorithm. I know that we process 128 bits at a time for a 128 bit key in a 4x4 octet form, but am confused by the following: How does the substitution ...
johnny's user avatar
  • 53
4 votes
2 answers
1k views

Need 32-bit mixing function that has perfect avalanche between octets

for my hobby tinkering project, I need a mixing function that takes 32-bit input and has 32-bit output (and will, most likely, run in a 32-bit C environment) and the following property (independent of ...
mirabilos's user avatar
  • 293