예제 #1
0
        /// <summary>
        /// Encrypt a string with the Tiny Encryption Algorithm
        /// </summary>
        public static string Encrypt(string input, string key)
        {
            Dictionary <string, string> options = new Dictionary <string, string>();

            options["key"] = key;
            return(MtaShared.EncodeString("tea", input, options));
        }