If I encrypt a file using the old Unix/Linux
crypt() function, how can it be decrypted or attacked?
I understand how a password file (for example) is attacked, you guess passwords, run them through
crypt() and see if the result matches the entry in
/etc/shadow on modern systems).
However, I don't see how you can do this with an encrypted file, you can't seriously guess the contents of the file and run that through the
crypt() function to see if you get a match for the encrypted file.