• 大小: 0.90M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-02-23
  • 语言: C#
  • 标签: SM3  国密  密码  解密  加密  

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Text;
using SM2_SM3_SM4;

namespace Console_SM2_SM3_SM4
{
    class Program
    {
        static void Main(string[] args)
        {
            //SM2.Main();
            //SM3Digest.Main();
           
            //SM2 sm2 = SM2.Instance;
    SM2 sm2 = SM2.InstanceTest;
    
    bool sm2Test = sm2.sm2Test;
    if (sm2Test)
    {
    // System.out.println(“p = “ + sm2.ecc_p.toString(16));
    // System.out.println(“a = “ + sm2.ecc_a.toString(16));
    // System.out.println(“b = “ + sm2.ecc_b.toString(16));
    // System.out.println(“n = “ + sm2.ecc_n.toString(16));
    // System.out.println(“gx= “ + sm2.ecc_gx.toString(16));
    // System.out.println(“gy= “ + sm2.ecc_gy.toString(16));
    // System.out.println(“h = “ + sm2.ecc_bc_spec.getH().toString(16));
    }

            SM2_SM3_Test.Sm3_test();

            SM2_SM3_Test.Test_sm2_sign(sm2);

 

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       1800  2019-07-24 09:30  国密算法SM2SM3SM4.sln

     文件        144  2014-01-10 08:44  ConsoleApplication_SM2_SM3\app.config

     文件    1212416  2007-07-05 05:06  ConsoleApplication_SM2_SM3\bin\Debug\BouncyCastle.Crypto.dll

     文件      13824  2019-07-22 21:32  ConsoleApplication_SM2_SM3\bin\Debug\ConsoleApplication_SM2_SM3.exe

     文件        144  2014-01-10 08:44  ConsoleApplication_SM2_SM3\bin\Debug\ConsoleApplication_SM2_SM3.exe.config

     文件      19968  2019-07-22 21:32  ConsoleApplication_SM2_SM3\bin\Debug\ConsoleApplication_SM2_SM3.pdb

     文件      11592  2014-10-27 16:42  ConsoleApplication_SM2_SM3\bin\Debug\ConsoleApplication_SM2_SM3.vshost.exe

     文件        144  2014-01-10 08:44  ConsoleApplication_SM2_SM3\bin\Debug\ConsoleApplication_SM2_SM3.vshost.exe.config

     文件        490  2010-03-17 22:39  ConsoleApplication_SM2_SM3\bin\Debug\ConsoleApplication_SM2_SM3.vshost.exe.manifest

     文件      15360  2019-07-24 10:16  ConsoleApplication_SM2_SM3\bin\Debug\Console_SM2_SM3_SM4.exe

     文件        144  2014-01-10 08:44  ConsoleApplication_SM2_SM3\bin\Debug\Console_SM2_SM3_SM4.exe.config

     文件      24064  2019-07-24 10:16  ConsoleApplication_SM2_SM3\bin\Debug\Console_SM2_SM3_SM4.pdb

     文件      20992  2019-07-22 21:27  ConsoleApplication_SM2_SM3\bin\Debug\SM2_SM3.dll

     文件      42496  2019-07-22 21:27  ConsoleApplication_SM2_SM3\bin\Debug\SM2_SM3.pdb

     文件      25600  2019-07-24 10:16  ConsoleApplication_SM2_SM3\bin\Debug\SM2_SM3_SM4.dll

     文件      58880  2019-07-24 10:16  ConsoleApplication_SM2_SM3\bin\Debug\SM2_SM3_SM4.pdb

     文件       4278  2019-07-24 09:48  ConsoleApplication_SM2_SM3\Console_SM2_SM3_SM4.csproj

     文件        452  2014-01-10 08:44  ConsoleApplication_SM2_SM3\Console_SM2_SM3_SM4.csproj.user

     文件       1075  2011-03-25 18:11  ConsoleApplication_SM2_SM3\obj\ConsoleApplication_SM2_SM3.csproj.FileListAbsolute.txt

     文件          0  2019-07-22 21:32  ConsoleApplication_SM2_SM3\obj\Debug\ConsoleApplication_SM2_SM3.csproj.CopyComplete

     文件         42  2019-07-24 09:22  ConsoleApplication_SM2_SM3\obj\Debug\ConsoleApplication_SM2_SM3.csproj.CoreCompileInputs.cache

     文件       4240  2019-07-24 09:23  ConsoleApplication_SM2_SM3\obj\Debug\ConsoleApplication_SM2_SM3.csproj.FileListAbsolute.txt

     文件      29832  2019-07-24 09:23  ConsoleApplication_SM2_SM3\obj\Debug\ConsoleApplication_SM2_SM3.csprojAssemblyReference.cache

     文件      13824  2019-07-22 21:32  ConsoleApplication_SM2_SM3\obj\Debug\ConsoleApplication_SM2_SM3.exe

     文件      19968  2019-07-22 21:32  ConsoleApplication_SM2_SM3\obj\Debug\ConsoleApplication_SM2_SM3.pdb

     文件          0  2019-07-24 10:16  ConsoleApplication_SM2_SM3\obj\Debug\Console_SM2_SM3_SM4.csproj.CopyComplete

     文件         42  2019-07-24 10:16  ConsoleApplication_SM2_SM3\obj\Debug\Console_SM2_SM3_SM4.csproj.CoreCompileInputs.cache

     文件       1457  2019-07-24 10:16  ConsoleApplication_SM2_SM3\obj\Debug\Console_SM2_SM3_SM4.csproj.FileListAbsolute.txt

     文件       7375  2019-07-24 10:16  ConsoleApplication_SM2_SM3\obj\Debug\Console_SM2_SM3_SM4.csprojAssemblyReference.cache

     文件      15360  2019-07-24 10:16  ConsoleApplication_SM2_SM3\obj\Debug\Console_SM2_SM3_SM4.exe

............此处省略52个文件信息

评论

共有 条评论