| FAQs / AgileForms | |
To apply your own encryption algorithm to AgileForms data, do the following.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ascentn.Workflow.Base;
namespace DataSecurityEncryptorDecryptor
{
      public class security : IEncryptDecrypt
      {
          const string m_password = "pass@word1";
          #region IEncryptDecrypt Members
          public string Decrypt(string data)
          {
              return ShUtil.Decrypt(m_password, data);
          }
          public string Encrypt(string data)
          {
              return ShUtil.Encrypt(m_password, data);
          }
          #endregion
       }
}
        For example, DataSecurityEncryptorDecryptor.dll
The DLL file name DataSecurityEncryptorDecryptor.dll depends on your project name.
If custom DLL not present or the key does not exist in the web.config file, it uses a default AgilePoint encryption key.
For more information, see the following.