Jump to content

how to convert c# to autoit :( . help me

Recommended Posts

       string keyValue = "";
            System.Text.UTF8Encoding UTF8 = new System.Text.UTF8Encoding();
            AesManaged tdes = new AesManaged();
            tdes.Key = bArr2;
            tdes.Mode = CipherMode.ECB;
            tdes.Padding = PaddingMode.PKCS7;
            ICryptoTransform crypt = tdes.CreateEncryptor();
            byte[] plain = Encoding.UTF8.GetBytes(text);
            byte[] cipher = crypt.TransformFinalBlock(plain, 0, plain.Length);
            StringBuilder stringBuilder = new StringBuilder(cipher.Length * 2);
             String encryptedText = Convert.ToBase64String(bArr2);
            textBox1.Text = System.Text.Encoding.UTF8.GetString(bArr2);

Link to post
Share on other sites
  • Moderators

@Than the help file is your friend. Almost every function has at least one, if not multiple, examples:




"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...