Skip to main content

Questions tagged [twofish]

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

Filter by
Sorted by
Tagged with
1 vote
2 answers
393 views

Hamming Distance and Avalanche effect in Cryptography?

I am new to Cryptography and I know there are better ways to test a cipher's effectiveness out there but in this case I am trying to test a cryptographic algorithm's(AES,xchacha20,twofish) hamming ...
Jake's user avatar
  • 43
1 vote
1 answer
2k views

OpenSSL supports AES, Camellia, ChaCha. How about Twofish, Threefish, Serpent?

If I understood correctly, some symmetric ciphers such as AES, Camellia, ChaCha are implemented in OpenSSL (along with several older ones) but some other commonly used and proven ciphers such as ...
RocketNuts's user avatar
  • 1,397
0 votes
1 answer
185 views

Is this cumbersome strategy to produce a ridiculously strong password valid?

I'm writing something where somebody wants to have a ridiculously strong password for a file and yet be sure that he will always be able to reconstruct it. The way I have thought of this might be a ...
Nicola's user avatar
  • 369
3 votes
2 answers
793 views

Is it possible to identify a Serpent encryption key in memory?

It has been shown that AES keys that are in use can be identified in memory. This identification relies on discovering expected round keys in memory that are contained within the key schedule. My ...
learnerX's user avatar
  • 687
7 votes
1 answer
332 views

How does Twofish avoid weak keys if it uses key-dependent S-boxes?

From section 7.2.2 of the Twofish paper, the four S-boxes for the 128-bit cipher are generated with: $$\begin{align} s_0(x) &= q_1[q_0[q_0[x] \oplus s_{0,0}] \oplus s_{1,0}]\\ s_1(x) &= q_0[...
forest's user avatar
  • 15.5k
2 votes
2 answers
489 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 ...
ExecutionByFork's user avatar
10 votes
3 answers
3k 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, ...
Stepan's user avatar
  • 221
3 votes
2 answers
2k 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 ...
daralim's user avatar
  • 37
0 votes
1 answer
202 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 ...
crypt's user avatar
  • 2,502
2 votes
1 answer
192 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 ...
Sam_hai's user avatar
  • 23
1 vote
3 answers
749 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 ...
crypt's user avatar
  • 2,502
1 vote
1 answer
991 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 ...
Richard R. Matthews's user avatar
2 votes
1 answer
9k 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 ...
Richard R. Matthews's user avatar
0 votes
1 answer
1k 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 ...
NetCoder's user avatar
1 vote
1 answer
255 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 ...
Richard R. Matthews's user avatar
3 votes
2 answers
532 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 ...
Richard R. Matthews's user avatar
1 vote
2 answers
14k 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.
Victor Hughes's user avatar
3 votes
1 answer
400 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 + ...
user2762996's user avatar
3 votes
0 answers
199 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 ...
BufferOverflow's user avatar
8 votes
5 answers
23k 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?
Fumerian Gaming's user avatar
8 votes
3 answers
10k views

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 ...
Richard R. Matthews's user avatar
1 vote
0 answers
104 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 ...
Richard R. Matthews's user avatar
-1 votes
1 answer
711 views

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

Why did Rijndael become the AES Standard? What is wrong with Twofish and Serpent? Is there a security vulnerability in Twofish/Serpent? How do they work? As far as I know, Twofish and Serpent are used ...
Question0's user avatar
2 votes
2 answers
485 views

Camellia Key Schedule

Camellia is widely used, an international standard now. Its key schedule seems to be too simple compared to other famous ciphers like Twofish and CAST-256. What are the prerequisites for the key ...
crypt's user avatar
  • 2,502
5 votes
1 answer
861 views

Order of multiple encryption algorithms

as you can see on image above, in VeraCrypt you can select either Serpent -> Twofish -> AES or ...
encore leet's user avatar
4 votes
1 answer
491 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~[...
crypt's user avatar
  • 2,502
1 vote
1 answer
3k 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 ...
BufferOverflow's user avatar
5 votes
4 answers
915 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), ...
Superpelican's user avatar
17 votes
2 answers
71k 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 ...
Jack's user avatar
  • 273
-6 votes
1 answer
1k views

Alternative encryption algorithm [closed]

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.
Tor's user avatar
  • 5
0 votes
2 answers
2k 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 ...
aobocod's user avatar
2 votes
0 answers
393 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 ...
Pavo's user avatar
  • 21
7 votes
2 answers
4k 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: ...
Chris's user avatar
  • 335
3 votes
0 answers
1k 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://...
Ninveh's user avatar
  • 738
8 votes
1 answer
8k 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 ...
GamingX's user avatar
  • 647
3 votes
1 answer
2k 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 ...
Josh's user avatar
  • 133
10 votes
1 answer
3k 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 ...
Jack V.'s user avatar
  • 145
3 votes
1 answer
748 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, ...
Remo.D's user avatar
  • 245
5 votes
2 answers
573 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 ...
Remo.D's user avatar
  • 245
8 votes
2 answers
11k 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 ...
gordon-quad's user avatar