Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Utility Namespace / RecryptionHelper Class / RecryptDatabase Method / RecryptDatabase(Byte[],Byte[]) Method
The old encryption key
The new encryption key
In This Topic
    RecryptDatabase(Byte[],Byte[]) Method
    In This Topic
    Decrypts all encrypted data in the database, then re-encrypts it using the new encryption key
    Syntax
    public static void RecryptDatabase( 
       byte[] oldKey,
       byte[] newKey
    )

    Parameters

    oldKey
    The old encryption key
    newKey
    The new encryption key
    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