Skip to main content
edited tags
Link
e-sushi
  • 18.1k
  • 12
  • 85
  • 235
Tweeted twitter.com/StackCrypto/status/712319581700939776
Post Migrated Here from security.stackexchange.com (revisions)
Source Link

Which compound algorithms would weaken cipher, not strengthen it?

OK, in school, some of the lecturers always say "if you compound the crypto, it may make the cipher weaker".

So, which combinations of algorithms would do this? Why? Can anyone show the mathematical proof?

For example, would RSAk1(AESk2[AESk3[x]]) make the encrypted x weaker? Assuming all keys used are different and randomly generated using a SecureRandom function.