Exemple #1
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            string LStr11003C008Hash8 = string.Empty;
            long   longValue;

            long.TryParse(ComboBox_LongValue.Text, out longValue);
            longValue = longValue + 1000000000;
            LStrVerificationCode002 = CreateVerificationCode(EncryptionAndDecryption.UMPKeyAndIVType.M002);
            LStr11003C008           = EncryptionAndDecryption.EncryptDecryptString(longValue + ComboBox_DogNum.Text, LStrVerificationCode002, EncryptionAndDecryption.UMPKeyAndIVType.M002);
            LStr11003C008Hash8      = CreateMD5HashString(LStr11003C008).Substring(0, 8);
            LStr11003C007           = longValue + AscCodeToChr(27) + ComboBox_OptNum.Text;
            LStr11003C007           = EncryptionAndDecryption.EncryptStringYKeyIV(LStr11003C007, LStr11003C008Hash8, LStr11003C008Hash8);
            ComboBox_C007.Text      = LStr11003C007;
            InitOperations();
        }