Blowfish and data intergity...
It is late and I might not have my thinking cap snug.
Using the Encrypt/Decrypt on some strings. I encrypt data, save it to a file or send across some network.
The encrypted data becomes corrupted.
The password is the same on both ends and Decrypt just applies the password to the data.
The resulting buff is garbage or at least some of it.
So looking for a way to verify data integrity after Decrypt is executed.
I thought to store a fixed value at the beginning and end.
Then check if correct after Decrypt.
So I guess the question: If any part of the data becomes corrupted after Decrypt will every byte in the buffer be hosed or just some? Or who knows, depends on what part is corrupted.
Perhaps data integrity is outside the scope of blowfish.