File Encryption and Decryption in Delphi
This demo demonstrates how to use .Net Runtime Library for Delphi to encrypt and decrypt files of any type in Delphi.
There are two methods: encryptFile and decryptFile which uses the Rijndael encryption algorithm. They both require that you pass in the filenames and paths of the source and destination files as strings. It is important that the user has the necessary file rights to create the encrypted file.