• 大小: 6.62MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-09-23
  • 语言: Java
  • 标签: SM4加密  Java  c#  

资源简介

朋友给的关于SM4加密c#和java互相加解密的帮助类,最近做的项目用到。完全可用

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace SM4
{
    public partial class Mainframe : Form
    {
        public bool LIN = true;
        string begindt;
        string enddt;
        public Mainframe()
        {
            InitializeComponent();
        }
        private void FrmMain_Load(object sender EventArgs e)
        {
            DateTime date = this.dateTimePicker1.Value;
            DateTime date1 = this.dateTimePicker2.Value;
            if (date == null || date1 == null || date == date1 || date > date1)
            {
                begindt = DateTime.Now.AddDays(-10).ToString(“yyyy-MM-dd“);
                enddt = DateTime.Now.AddDays(-1).ToString(“yyyy-MM-dd“) + “ 23:59:59“;
            }
            else
            {
                begindt = date.ToString(“yyyy-MM-dd“);
                enddt = date1.ToString(“yyyy-MM-dd“) + “ 23:59:59“;
            }
        }

        private void bt_up_Click(object sender EventArgs e)
        {
            if (LIN)
            {
                bt_up.Text = “正在上传“;
                LIN = false;
            }
            else
            {
                bt_up.Text = “上传停止“;
                LIN = true;
            }
        }
    }
}



 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-07-11 17:09  SM4CPP\
     目录           0  2018-09-23 08:10  SM4CPP\SM4\
     目录           0  2018-08-10 14:43  SM4CPP\SM4\.vs\
     目录           0  2018-08-10 14:43  SM4CPP\SM4\.vs\SM4\
     目录           0  2018-08-10 14:43  SM4CPP\SM4\.vs\SM4\v14\
     文件       55296  2018-09-23 08:10  SM4CPP\SM4\.vs\SM4\v14\.suo
     目录           0  2018-08-14 08:12  SM4CPP\SM4\Debug\
     文件     2371584  2018-04-08 23:30  SM4CPP\SM4\Debug\BouncyCastle.Crypto.dll
     文件       14336  2018-08-14 07:32  SM4CPP\SM4\Debug\SM4.dll
     文件       16384  2018-08-14 08:12  SM4CPP\SM4\Debug\SM4.exe
     文件       38400  2018-08-14 08:12  SM4CPP\SM4\Debug\SM4.pdb
     文件       53248  2018-08-14 08:12  SM4CPP\SM4\Debug\javasm4.dll
     文件         460  2018-07-11 17:31  SM4CPP\SM4\Debug\javasm4.dll.metagen
     文件        1183  2018-08-14 08:12  SM4CPP\SM4\Debug\javasm4.exp
     文件        2288  2018-08-14 08:12  SM4CPP\SM4\Debug\javasm4.lib
     文件      453632  2018-08-14 08:12  SM4CPP\SM4\Debug\javasm4.pdb
     目录           0  2018-09-23 08:09  SM4CPP\SM4\SM4\
     文件     2371584  2018-04-08 23:30  SM4CPP\SM4\SM4\BouncyCastle.Crypto.dll
     文件        6554  2018-08-14 08:12  SM4CPP\SM4\SM4\Mainframe.Designer.cs
     文件        1432  2018-08-14 08:12  SM4CPP\SM4\SM4\Mainframe.cs
     文件        5817  2018-08-14 08:12  SM4CPP\SM4\SM4\Mainframe.resx
     文件        4750  2018-07-11 16:56  SM4CPP\SM4\SM4\MainSm4.cs
     文件         513  2018-08-14 07:38  SM4CPP\SM4\SM4\Program.cs
     目录           0  2018-07-11 16:58  SM4CPP\SM4\SM4\Properties\
     文件        1329  2018-07-11 16:58  SM4CPP\SM4\SM4\Properties\AssemblyInfo.cs
     文件        5406  2018-08-15 04:08  SM4CPP\SM4\SM4\SM4.csproj
     文件         228  2018-08-14 07:38  SM4CPP\SM4\SM4\SM4.csproj.user
     目录           0  2018-08-13 13:14  SM4CPP\SM4\SM4\Service References\
     目录           0  2018-08-13 13:13  SM4CPP\SM4\SM4\Service References\materialPriceTrace\
     文件         966  2018-08-13 13:13  SM4CPP\SM4\SM4\Service References\materialPriceTrace\MaterialPriceTraceWServiceInterface.wsdl
     文件        1696  2018-08-13 13:13  SM4CPP\SM4\SM4\Service References\materialPriceTrace\MaterialPriceTraceWServiceService.wsdl
............此处省略71个文件信息

评论

共有 条评论