Xceed Encryption Library Documentation
Samples / Encrypt and Decrypt Sample Application for ASP
In This Topic
    Encrypt and Decrypt Sample Application for ASP
    In This Topic

    Description

    This sample demonstrates how to encrypt and decrypt data using the TwoFish encryption method.

    Source files

    Project path: Samples\ASP\EncryptDecrypt

    Project file name: EncryptDecrypt.asp

    Demonstrates

    Properties: HashingMethod, EncryptionMode, PaddingMethod and EncryptionMethod

    Method: Encrypt, Decrypt and SetSecretKeyFromPassPhrase

    How to use

    Provide a pass phrase and secret key size that will be used to create a secret key that will be used to encrypt data.

    Enter the text to encrypt in the "Data to encrypt" text box and press the "Encrypt" button. The encrypted data will then appear in the "Encrypted data" text box and can be decrypted by pressing the "Decrypt" button.