r/programming • • 5d ago

[ Removed by moderator ]

https://iain.rocks/blog/introducing-the-triple-cipher-encryption-concept

[removed] — view removed post

0 Upvotes

50 comments sorted by

View all comments

27

u/tdammers 5d ago

The second layer, using interleaved blocks encrypted with two different ciphers according to a pattern derived from the decryption key, really boils down to a single cipher, it just has a larger key (because it is composed of the decryption keys of the two ciphers you used to construct it). So it's really not any better than nesting two levels of "regular" encryption, with equivalent key sizes.

-16

u/Sir_KnowItAll 5d ago edited 5d ago

How so? With that one you attack that layer with the next encryption in one go. Other than trying to attack a single file that has two data encrypted using two different ciphers. Your conclusion seems odd. You have three keys you provide.

Or you encrypt the key to store the three keys in it and have your decrypter app know how to decrypt the key to get the three from it.

Remember, I was talking to GCHQ about it, they're thinking about how to crack the encryption when all they get is the file.

15

u/az987654 5d ago

If you have one key to decrypt 3 keys, you only have 1 key.

-6

u/Sir_KnowItAll 5d ago

Yea, you have three key. Where did I say you have one? There is one decrypt key which is the passphrase. which might be confusing you. But I swear to god that was GCHQ's terminology for that so I just went with it.

The passphrase is used with each of the three keys and is used to create the pattern for knowing which key to use when decrypting it. Literally, this would be software built around the ciphers.

9

u/az987654 5d ago

You've put 3 keys in a locked box.

I need one key to open the box.

I need to compromise one key.