Questions tagged [serpent]

A symmetric block cipher algorithm with a 128 bit block size, and key sizes up to 256 bits.

Serpent is a 128bit block cipher that supports key sizes up to 256 bit.

Serpent was second in the AES competition. It was developed by Ross Anderson, Eli Biham und Lars Knudsen.

40 questions
17
votes
2 answers

Twofish vs. Serpent vs. AES (or a combo)

I've seen some posts and info online, but they are from 2009, 2010, 2011 or 2012, which is 3-6 years ago, which is a very long time. So I'm looking for an up-to-date answer about which of these is the safest encryption to be used, or rather most…
Jack
  • 273
  • 1
  • 2
  • 6
12
votes
1 answer

XSL on serpent and rijndael - which is most affected?

So I've often looked at serpent and thought it was a very strong contender in AES. Not so long ago I was looking for evidence as to why it didn't beat rijndael. So far, the closest I've got answering that is this: The 32 rounds means that Serpent…
user46
8
votes
1 answer

Advantage of AES(Rijndael) over Twofish and Serpent

I'm trying to figure out a suitable encryption technique and after reading a bit, I figured the current AES 128-bit encryption is suitable for what I'm trying to do. However, this is more due to the wide-range use of AES than any other factor. So I…
GamingX
  • 647
  • 2
  • 7
  • 9
8
votes
3 answers

Is it true that Serpent and twofish are much stronger than AES?

I heard that Serpent and Twofish are much stronger than AES, but it was chosen because it is faster. If that's true, please tell me why it is stronger. Also: is it true that Twofish and serpent are better protected from brute force attacks because…
Richard R. Matthews
  • 4,545
  • 9
  • 31
  • 49
8
votes
0 answers

Is the key schedule of Serpent a circle?

The creation of the prekeys for Serpent works by XORing some previous values with a counter and a fixed value. Every word is 32 bits big and 4 words form a round key (after applying a S-Box, but this shall not be part of this question). The original…
Nova
  • 3,900
  • 1
  • 18
  • 23
8
votes
2 answers

Rijndael vs. Serpent vs. Twofish: General comparison

Can anyone explain (or give a link to document about) why Rijndaal won the AES, especially comparing it to other finalists (Serpent and Twofish)? What criteria were used to make decision? Or is there detailed comparison of these algorithms including…
gordon-quad
  • 183
  • 1
  • 1
  • 4
7
votes
3 answers

Would a "Triple AES" (in the sense of how Triple Des works) serve for a dramatic increase in safety?

The system requires to be as paranoid as possible regarding security. One of the few contemplated changes to the current design is to use multiple encryption. First proposal was to use Serpent on top of AES-256, but after looking into it, it seems…
Mamsaac
  • 343
  • 3
  • 7
7
votes
2 answers

Combining multiple symmetric encryption algorithms - implications?

I was just wondering if I add more security by combining two or more symmetric encryption algorithms on a plain text. For example: Plaintext → AES → Twofish → Serpent Of course a different key and IV (produced with a cryptographic secure prng) is…
Chris
  • 335
  • 3
  • 7
5
votes
1 answer

Order of multiple encryption algorithms

as you can see on image above, in VeraCrypt you can select either Serpent -> Twofish -> AES or AES -> Twofish -> Serpent what's the point of those permutations? is there any difference if I use A -> B -> C or C -> B -> A combination of…
5
votes
4 answers

Which symmetric cipher is best for studying?

I would like to study a modern symmetric cipher (I have never studied a cipher before) and I was wondering which would be the best cipher for studying purposes of the following: AES (Rijndael), Blowfish, Twofish, Threefish or Serpent. Basically I am…
5
votes
1 answer

Why is Serpent faster than AES in this benchmark?

I have a laptop without the AES-NI CPU instructions but with SSE4.1. I'm using Linux and tried the (in-memory) cryptsetup benchmark to get the rough tendency which returned: # Algorithm | Key | Encryption | Decryption aes-cbc 128b 101,4…
user12593
5
votes
1 answer

What was the motivation for the Serpent linear function?

The design of the Serpent cipher (state of 4 32bit words) is odd in some ways and the AES submission document doesn't shed light on the oddities. Firstly, it almost tries an ARX approach except that there is no addition present. Just linear mixing.…
4
votes
2 answers

Why should symmetric block cyphers be efficient?

If I remember well, AES (then named Rijndael) won the competition because it was slightly faster to implement as one of its competitors, Serpent, which erred on the side of caution, using 32 rounds as where most probably, 16 rounds would have been…
entrop-x
  • 382
  • 2
  • 7
4
votes
1 answer

Serpent cipher : Osvik S-Boxes confusion and test vectors

I'm having hard time with the implementation of the S-Boxes by Osvik found in this paper: Speeding up Serpent. At the end of the paper, all the s-boxes are given and then, I just implement them. Here's my implementation of $S_0$ as an example…
Gabriel L.
  • 297
  • 2
  • 9
4
votes
1 answer

Serpent block cipher : S0 to S7 functions unclear

I am presently implementing the serpent block cipher in C++ following the specifications. It's important to mention that I'm implementing the cipher in bitslice mode. You'll need the The full submission package of Serpent which contains the…
Gabriel L.
  • 297
  • 2
  • 9
1
2 3