RC5 is a symmetric key block cipher designed by Ronald Rivest.
Questions tagged [rc5]
9 questions
6
votes
2 answers
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? (any decimal number between 40-2048?) How about…
nullpointer
- 61
- 1
- 3
4
votes
0 answers
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 addition)...
I've obviously found the algorithm…
Seawaves32
- 101
- 2
3
votes
1 answer
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 sophisticated variants like that used in RC6.
To…
EPICI
- 359
- 2
- 7
2
votes
1 answer
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 answer DA679BFB but keep missing, Here is my…
meh96
- 23
- 5
1
vote
1 answer
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 get the length of the original plaintext data…
Lázár Zsolt
- 111
- 3
1
vote
1 answer
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 are produced from the key in RC6. In my…
tomneil
- 21
- 1
1
vote
1 answer
Which is best: RC5, RC6, CAST-128, LOKI97, or MARS?
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 implementation. However, hearing about code implementations…
Donald C. Spencer
- 13
- 2
1
vote
1 answer
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-540-60590-8_7.pdf) the author has mentioned that…
Sumesh Manjunath R
- 11
- 2
1
vote
1 answer
Difference between RC2, RC4, RC5 and RC6
Can anyone point out the core differences between these ciphers?
arif
- 137
- 1
- 2
- 7