Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

1
vote
2answers
88 views

How secure is a system that retrieves encrypted private keys from a public database?

The system in question is one with multiple users. Each user has a password associated with their account, and each user owns several public-private keypairs. A user's private keys are encrypted using ...
7
votes
2answers
456 views

Twofish fails Dieharder test

I've tested Twofish (256 bit) as follows. A lengthy pseudorandom sequence was generated and used as a key. Plaintext phrases 000000000..00, ...
3
votes
1answer
278 views

Is there a real purpose to use Twofish, Serpent or Threefish instead of AES?

I am wondering if other ciphers like Serpent or Twofish or even Threefish have really an use in real life, because AES seems to be very efficient in most situations. But for example TrueCrypt or ...
-1
votes
1answer
93 views

Block Ciphers with encryption speed similar to AES

What all block ciphers can achieve encryption speed similar/near to AES on general purpose computers with AES-NI enabled and disabled. Camellia seems to be near to AES, and Twofish seems to be much ...
1
vote
1answer
66 views

How is Twofish flattening the result of Reed-Solomon MDS matrix multiplication into a 32-bit result?

I have trouble understanding how Reed-Solomon coding can produce same number of output bits than the input was. Twofish uses this technique. I've read the paper, but still can't quite understand how ...
1
vote
3answers
250 views

CSPRNG made out of Block Cipher running in CTR Mode?

From Definition of CSPRNG, it has two characteristics It satisfies the next-bit test. It withstands 'state compromise extensions' - part of all of the state being compromised does not allow for ...
1
vote
1answer
451 views

Key strenth in Cipher cascades (Veracrypt)

Disclaimer : basic crypto knowledge So this is a question specificly about veracrypt , but theoreticly applies to any other encryption software which supports cipher cascades . So if you use a ...
1
vote
1answer
2k views

how secure is Twofish really?

So I heard that Twofish is much more secure than AES, because it is not vulnerable to bruteforce and only supports 256 bit . Also I heard that is not vulnerable to most side channel attacks . And ...
0
votes
1answer
401 views

Cryptographic algorithms compromised and alternatives?

After Edward Snowden's release of top secret information we have seen clues that the NIST certified crypto-algorithms like AES might be compromised. Although not as fast as AES, we prefer Twofish ...
1
vote
1answer
185 views

How secure is AES in a critical situation?

So this one is a tinfoil-hat question. It is 99 % theoretical. So we assume that I am someone who stores highly confidential information. Maybe super secret stolen goverment stuff. And I get caught ...
4
votes
2answers
248 views

can a weak cipher in a cascade weaken the result?

So i am a real beginner . And I use AES(TWOFISH(Serpent))) for my veracrypt file . So I asked myselfe a Question : When a Cascade is made the Key is split in parts for each algorythm . So if We ...
-1
votes
2answers
4k views

AES vs other types of encryption such as Twofish

I am kinda of confused about what are some major differences between AES, Twofish, and other types of common encryption algorithms.
3
votes
0answers
120 views

Twofish MDS multiplication

I wasted the last 2 days finding literature and/or some illustrative explanations on how to perform correct multiplications against the MDS-Matrix in Twofish over $\operatorname{GF}(256)$ with $x^8 + ...
3
votes
0answers
111 views

Implement Twofish cipher with 16-bit blocksize?

I've seen implementation of Rijndael cipher with 16-bit blocksize. And I have also tried to implement 16-bit Rijndael cipher by myself with only a little sneak peeking at the example of the ...
3
votes
4answers
10k views

What encryption should I use: Blowfish, Twofish, or Threefish?

The title of this thread pretty much sums up what I'm asking: what is the best encryption to use out of the three — Blowfish, Twofish, or Threefish?
4
votes
3answers
3k views

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

I heared that Serpent and twofish are much stronger then AES , but it was chosen ,because it is faster . If thats true , please tell me why it is stronger . Also : is it true that Twofish and serpent ...
1
vote
0answers
83 views

Why did Rijndael become AES; what is wrong with Twofish and Serpent? [duplicate]

Why did the Rijndael cipher become the Advanced Encryption Standard instead of Twofish and Serpent? Do Serpent and Twofish have security issues or weak keys? Or is it just slower? I know that some ...
-1
votes
1answer
213 views

Why did FIPS become the AES Standard . What is wrong with Twofish and Serpent? [duplicate]

Why did FIPS become the AES Standard . What is wrong with Twofish and Serpent ? Is there a security vulnerability in Twofish / Serpent ? How do thy work ? As far as i know Twofish and Serpent are used ...
1
vote
1answer
170 views

Camellia Key Schedule

Camellia is a widely used International standard now. Its Key Schedule seems to be too simple as compared other famous Ciphers like Twofish and CAST-256. What are the per-requisites for the key-...
4
votes
1answer
453 views

Order of multiple encryption algorithms

as you can see on image above, in VeraCrypt you can select either Serpent -> Twofish -> AES or ...
4
votes
1answer
231 views

Twofish MDS and PHT

Twofish was an AES candidate and it uses $4 \times 4$ Matrix as MDS followed by a PHT. The Branch Number of MDS and PHT is 5 and 2 Respectively. from formula $Branch~Number = Minimum~of~[...
1
vote
1answer
1k views

Symmetric cipher speed (AES vs Camellia vs Twofish)

If I have understood correctly, Twofish is more secure (harder to break) than AES and Camellia, but it's slower than both. How can I measure the speed difference between AES vs Twofish and Camellia ...
0
votes
0answers
40 views

AES Twofish Serpent [duplicate]

AES-Twofish-Serpent how to create this combo encryption? I am using Linux Mint and i want to encrypt few big folders in one folder, but to be hiden.
5
votes
4answers
813 views

Which symmetric cipher is best for studying? [closed]

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), ...
12
votes
2answers
41k views

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 ...
-5
votes
1answer
952 views

Alternative encryption algorithm

I need a alternative encryption alcorithm to AES. It shouldn't be AES, Twofish or Serpent and it must be very strong. I dont care about the performance.
0
votes
2answers
588 views

Database row level encryption scheme

I am wanting to secure some highly sensitive data in a database. This would mean that the data needs to be encrypted and remain secure for 100 years if it were to fall into adversary hands. I also ...
1
vote
0answers
233 views

Blowfish vs. Twofish regarding power consumption

If I wanted to use Blowfish or Twofish to provide security on a device where power consumption is crucial. Regarding power consumption, which one would win? Generally, which algorithms are known to ...
6
votes
2answers
2k views

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: ...
2
votes
0answers
864 views

Keepass Twofish plugin security

Keepass is a well known open-source password manager program, with plugin support. One of the offered plugin is a twofish encryption mode of operation in lieu of the build-in AES algorithm (http://...
7
votes
1answer
6k views

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 ...
1
vote
1answer
1k views

How do I calculate the maximum plain text length allowable for a certain cipher text length?

I am encrypting and storing sensitive values in the database. I have a set max length in the database, but in order to provide useful user feedback, I'd like to know the max input I should allow for a ...
9
votes
1answer
2k views

Why Addition Mod 32?

I was looking at the algorithm for Twofish, and I noticed that in some places a XOR is used, but in others, they use "addition modulo-32." What makes modulo-32 special? Why not always use XOR? Why not ...
2
votes
1answer
550 views

Twofish key length

I'm using twofish. Say you have a 120 bit key, is there any difference in using a 128 bit bit keylength or a 256 bit one? Since the most significant digits of the key will be allo zero in both cases, ...
5
votes
2answers
503 views

Checking a key before actually using it

I have a block of data crypted using twofish with a key of 128 bit. The data must be accessed from a GUI, the user gives the key, the block is decoded and the real data is accessed. Problem is that ...
7
votes
2answers
8k views

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 ...