Xceed Encryption Library Documentation
Samples / Manager Sample Application for Delphi
    Manager Sample Application for Delphi

    Description

    This sample demonstrates how to encrypt and decrypt a file using the Rijndael or Twofish encryption methods.

    Source files

    Project path: SAMPLES\DELPHI 4-7\MANAGER

    Project file name: MANAGER.DPR

    Demonstrates

    Properties: EncryptionMethod, HashingMethod, EncryptionMode and PaddingMethod

    Methods: ProcessFile, SetSecretKeyFromPassPhrase and SetRandomInitVector

    How to use

    Enter the pass phrase that will be used to create the encryption secret key.

    Select the source file and the destination file. When selecting a source file name, the manager assigns a default value to the destination file if it's empty. Click on the Encrypt button or Decrypt button to perform the desired action.

     

    The Option button allows you to set the encryption method, the encryption mode, the key size, the hashing method and the padding method.

     

    All errors when encrypting or decrypting are shown in a text box at the bottom of the main form.