Example #1
0
        /// <summary>Encrypt String Using passPhrase to Decrypt</summary>
        /// <param name="plainText">String to Encrypt</param>
        /// <param name="passPhrase">Password to Decrypt Later</param>
        public static string Encrypt(this string plainText, string passPhrase)
        {
            if (plainText == null)
            {
                return("");
            }
            _AHK ahk = new _AHK();

            return(ahk.Encrypt(plainText, passPhrase));
        }