Skip to main content

Questions tagged [rc5]

RC5 is a symmetric key block cipher designed by Ronald Rivest.

Filter by
Sorted by
Tagged with
1 vote
1 answer
103 views

Is it possible to calculate the plaintext length of an RC5-32 encrypted ciphertext?

Calculating the RC5 encrypted size of any data is as simple as rounding up the plaintext length to the nearest multiple of 8. What I'm wondering is whether this can be done in the other direction, to ...
Lázár Zsolt's user avatar
1 vote
1 answer
168 views

Rivest Cipher 6 (RC6) Key Scheduler

I am trying to understand the Key Scheduler used in RC6 and I have a total of 3 questions. The RC6 Wikipedia page says that the only difference between the RC5 and RC6 key scheduler is that more words ...
tomneil's user avatar
  • 21
1 vote
1 answer
368 views

Which is best: RC5, RC6, CAST-128, LOKI97, or MARS? [closed]

Considering speed and security, which is best: RC5, RC6, CAST-128, LOKI97, or MARS? What does the scoreboard look like? (I'm asking about the abstract math concept, not related to any code ...
Donald C. Spencer's user avatar
1 vote
1 answer
143 views

Modular Addition in RC5 is linear or not?

So, far my understanding was Modular addition is non linear function which is mainly used in ARX based ciphers. While I was glancing through RC5 paper (https://link.springer.com/content/pdf/10.1007/3-...
Sumesh Manjunath R's user avatar
4 votes
0 answers
259 views

Breaking RC5 without rotations

I'm trying to follow Schneier's self-study course in cryptanalysis and am ashamed to say I am stuck on the very first problem of breaking 8-round RC5 without any rotations (i.e. just XOR and modular ...
Seawaves32's user avatar
1 vote
1 answer
15k views

Difference between RC2, RC4, RC5 and RC6

Can anyone point out the core differences between these ciphers?
arif's user avatar
  • 137
3 votes
1 answer
173 views

Why is variable rotation uncommon in cryptographic primitives?

Most cryptographic primitives I've seen rotate by a constant. RC5 did something different though: For a word size $w=2^n$, you can take the last $n$ bits of a value as a rotation amount. There's more ...
EPICI's user avatar
  • 359
2 votes
1 answer
616 views

How to calculate initial RC5 encryption parameters?

I learn from a minithesis to understand RC5. As we can see at the formula, the round 0 must be using A=A+S[0], because the loop is starting at r(round) 1. I tried addition and OR(bitwise) to get the ...
meh96's user avatar
  • 23
6 votes
2 answers
7k views

RC2, RC4, RC5 key length

While reading the Wiki page on RC4 I noticed that the key size must be in the range of 40–2,048 bits. So should I understand like this, that I can have a key that has length of, lets say 333 bits? (...
nullpointer's user avatar