File Encryption and Decryption with Hash Verification


This project deals with Cryptography in .Net framework. It is noticed in some cryptography system that if the file was in the right size and padded correctly, even using a bad password it would output a file. This indicated a bad encryption technique and resulted in failure of maintaining secrecy of the documents. In a view to overcome this problem we have set out to write a class that would allow encrypting and then decrypt/verify that the contents had been written correctly with using only correct password. Only the correct match of password decrypts original document else opens up an empty document.


  • Creating Encryption block
  • Creating Decryption block
  • Inclusion of Hash algorithm
  • Encrypting the document
  • Transmitting the document
  • Decrypting the document

Tools Used:

  • C#
  • .NET Frame Work