I understand that symmetric cryptographic algorithms provide confidentiality through the use of a key to encrypt plain text to cipher text but how can they provide for integrity as well?
Would it not be easy for an attacker to tamper with the bits in a message and give the receiver an incorrect (not necessarily coherent) message if they were able to intercept the encrypted cipher text? Especially considering that symmetric ciphers do not work well with authentication.
If this is indeed not the case and symmetric crypto can provide data integrity can you share with me examples of algorithms that implement this?