Hello I wanted to ask if there is any review about the security of the AES implementation of the .net Framework? I found nothing concrete to that question, searching the Internet. And, but this is a Little bit off-Topic to this question, is it secure to use a hash of the plaintext(or file) and use this as a test if the decryption worked correct (as a MAC)?
------Edit--------
I'm sorry, I will precise my question: I wanted to know, if the AES implementation of the .net Framework meets the official AES implementation and if there are any reviews of mistakes in the implementation, that would weaken the security of AES. And if there is any review about the security against attacks, like the timing attack.
With the MAC, I ment that I build the hash of the file, to be encrpted, add this hash to the file and then encrypt this together. When I encrypt the file, I build the hash of the file again and compare it to the hash I encrypted with the file together. If they match the decryption should have worked correct. Or is there any saver way to check if the decryption was correct (this should replace a check of the key itself).
I hope my question is more clear now.