Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Utility Namespace / EncryptionHelper Class / EncryptAES Method / EncryptAES(String,String) Method
The text to encrypt
The pass-pharse to use
In This Topic
    EncryptAES(String,String) Method
    In This Topic
    Encrypts the given plain text using AES encryption. Gets the encryption key from given pass-phrase.
    Syntax
    public static string EncryptAES( 
       string plainText,
       string passPhrase
    )

    Parameters

    plainText
    The text to encrypt
    passPhrase
    The pass-pharse to use

    Return Value

    The encrypted text
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also