Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do brute force decryption attacks know when they've found the right solution? [closed]

How do brute-force attacks on encrypted data know when they've found the right key to decrypt the data? Is there a way to know that data's been decrypted, other than having a human looking at it? What if it's not human-friendly data?

like image 447
user151841 Avatar asked Jun 16 '10 18:06

user151841


1 Answers

Cryptanalysts hope to have known ciphertext and plaintext. A key which decrypts that ciphertext to that plaintext is certainly the right key.

Without known plaintext, the data's format must be known. For example, plaintext HTML contains tags. A phone directory plaintext contains phone numbers. And so on.

like image 159
mcandre Avatar answered Sep 30 '22 03:09

mcandre