rsa加密解密

  • e1_862207
    了解作者
  • 295.9KB
    文件大小
  • rar
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-04-02 01:38
    上传日期
基本的RSA算法由于同态性,所以在实际的应用中,并不采用基本的RSA算法进行加密。本程序要求利用C/C++语言,利用RSA-OAEP算法对给定的消息进行加密。其中RSA-OAEP的加解密示意图如上(大家编程时,自己选择合适的长度)。
4.2 RSA_OAEP _长段文字加密.rar
  • 4.2 RSA_OAEP _长段文字加密
  • Debug
  • vc60.pdb
    52KB
  • RSA_OAEP.exe
    204.1KB
  • RSA_OAEP.pch
    228.4KB
  • RSA_OAEP.pdb
    473KB
  • vc60.idb
    49KB
  • RSA_OAEP.sbr
    0B
  • RSA_OAEP.ilk
    191.2KB
  • RSA_OAEP.obj
    52.3KB
  • RSA_OAEP.bsc
    65KB
  • sha1.h
    1.7KB
  • RSA_OAEP.opt
    47.5KB
  • hmacsha1.cpp
    6.7KB
  • RSA_OAEP.cpp
    6KB
  • RSA_OAEP.plg
    1.2KB
  • bint.cpp
    5.2KB
  • 090011课程设计题目.doc
    94.5KB
  • RSA_OAEP.ncb
    49KB
  • RSA_OAEP.dsp
    3.3KB
  • RSA_OAEP.dsw
    524B
内容介绍
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8"> <meta name="generator" content="pdf2htmlEX"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <link rel="stylesheet" href="https://static.pudn.com/base/css/base.min.css"> <link rel="stylesheet" href="https://static.pudn.com/base/css/fancy.min.css"> <link rel="stylesheet" href="https://static.pudn.com/prod/directory_preview_static/62788484d7996104df6dd00c/raw.css"> <script src="https://static.pudn.com/base/js/compatibility.min.js"></script> <script src="https://static.pudn.com/base/js/pdf2htmlEX.min.js"></script> <script> try{ pdf2htmlEX.defaultViewer = new pdf2htmlEX.Viewer({}); }catch(e){} </script> <title></title> </head> <body> <div id="sidebar" style="display: none"> <div id="outline"> </div> </div> <div id="pf1" class="pf w0 h0" data-page-no="1"><div class="pc pc1 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://static.pudn.com/prod/directory_preview_static/62788484d7996104df6dd00c/bg1.jpg"><div class="c x0 y1 w2 h2"><div class="t m0 x1 h3 y2 ff1 fs0 fc0 sc0 ls0 ws0">&#35838;&#31243;&#35774;&#35745;&#39064;&#30446;</div><div class="t m0 x2 h4 y3 ff1 fs1 fc0 sc0 ls0 ws0">&#39064;&#19968;&#65306;&#20844;&#38053;&#30340;&#21152;&#23494;&#31639;&#27861;<span class="_ _0"> </span><span class="ff2 sc1">RSA<span class="_ _0"> </span></span>&#19982;&#26925;&#22278;&#26354;&#32447;&#21152;&#23494;&#31639;&#27861;&#25928;&#29575;&#27604;&#36739;<span class="ff2 sc1"> </span></div><div class="t m0 x2 h4 y4 ff1 fs1 fc0 sc1 ls0 ws0">&#12304;&#38382;&#39064;&#25551;&#36848;&#12305;&#65306;&#29992;<span class="_ _0"> </span><span class="ff3">C/C++</span>&#35821;&#35328;&#65292;&#23545;&#20110;&#22914;&#19979;&#30340;&#26126;&#25991;&#65306;</div><div class="t m0 x2 h5 y5 ff4 fs1 fc0 sc1 ls0 ws0">&#8220;<span class="ff1 fs2">&#21451;&#24773;&#25552;&#37266;&#65306;<span class="ff3"> </span></span></div><div class="t m0 x3 h6 y6 ff3 fs2 fc0 sc1 ls0 ws0">1.<span class="ff1">&#35831;&#36981;<span class="_ _1"></span>&#23432;&#22269;&#23478;<span class="_ _1"></span>&#30340;&#27861;&#24459;<span class="_ _1"></span>&#27861;&#35268;&#65292;<span class="_ _1"></span>&#19981;&#21457;&#24067;&#36829;<span class="_ _1"></span>&#27861;&#36829;&#35268;<span class="_ _1"></span>&#20449;&#24687;&#65292;<span class="_ _1"></span>&#24182;&#23545;&#33258;<span class="_ _1"></span>&#24049;&#30340;&#34892;<span class="_ _1"></span>&#20026;&#25215;&#25285;<span class="_ _1"></span>&#20840;&#37096;&#27665;<span class="_ _1"></span>&#20107;&#21644;&#21009;<span class="_ _1"></span>&#20107;&#36131;&#20219;<span class="_ _0"> </span>&#12290;</span></div><div class="t m0 x3 h7 y7 ff3 fs2 fc0 sc1 ls0 ws0"> </div><div class="t m0 x3 h6 y8 ff3 fs2 fc0 sc1 ls0 ws0">2.<span class="ff1">&#35831;&#23562;&#37325;&#32593;&#32476;&#36947;&#24503;&#65292;&#19981;&#27745;&#35328;&#31229;&#35821;&#65292;&#19981;&#20405;&#29359;&#20182;&#20154;&#30340;&#26435;&#21033;&#21644;&#20010;&#20154;&#38544;&#31169;&#12290;</span> </div><div class="t m0 x3 h6 y9 ff3 fs2 fc0 sc1 ls0 ws0">3.<span class="ff1">&#35831;<span class="_ _1"></span>&#36981;&#23432;<span class="_ _1"></span>&#31038;&#21306;<span class="_ _1"></span>&#35268;&#21017;<span class="_ _1"></span>&#21644;&#29256;<span class="_ _1"></span>&#35268;&#65292;<span class="_ _1"></span>&#19981;&#36827;<span class="_ _1"></span>&#34892;&#21047;<span class="_ _1"></span>&#23631;&#12289;<span class="_ _1"></span>&#24694;&#24847;<span class="_ _1"></span>&#39030;&#36148;<span class="_ _1"></span>&#12289;&#24694;<span class="_ _1"></span>&#24847;&#28748;<span class="_ _1"></span>&#27700;&#31561;<span class="_ _1"></span>&#24433;&#21709;<span class="_ _1"></span>&#20182;&#20154;<span class="_ _1"></span>&#38405;&#35835;<span class="_ _1"></span>&#30340;&#34892;<span class="_ _1"></span>&#20026;&#12290;<span class="_ _1"></span>&#24191;&#21578;</span></div><div class="t m0 x3 h6 ya ff1 fs2 fc0 sc1 ls0 ws0">&#21457;&#24067;&#21040;&#20998;&#31867;&#20449;&#24687;&#12290;</div><div class="t m0 x3 h6 yb ff3 fs2 fc0 sc1 ls0 ws0">4.<span class="ff1">&#25152;&#26377;&#24086;&#23376;&#20165;&#20195;&#34920;&#20316;&#32773;&#26412;&#20154;&#24847;&#35265;&#65292;&#19981;&#20195;&#34920;&#26412;&#31038;&#21306;&#31435;&#22330;&#12290;&#8221;</span></div><div class="t m0 x2 h4 yc ff1 fs1 fc0 sc1 ls0 ws0">&#20998;&#21035;&#37319;&#29992;<span class="_ _0"> </span><span class="ff3">RSA<span class="_ _0"> </span></span>&#31639;&#27861;&#21644;&#26925;&#22278;&#26354;&#32447;&#21152;&#23494;&#31639;&#27861;&#36827;&#34892;&#21152;&#23494;&#12290;<span class="ff3"> </span></div><div class="t m0 x2 h4 yd ff1 fs1 fc0 sc1 ls0 ws0">&#35201;&#27714;&#65306;</div><div class="t m0 x2 h4 ye ff3 fs1 fc0 sc1 ls0 ws0">1.<span class="_ _2"> </span>RSA<span class="_ _0"> </span><span class="ff1">&#31639;&#27861;&#30340;&#20844;&#38053;&#21442;&#25968;<span class="_ _0"> </span></span>n<span class="_ _0"> </span><span class="ff1">&#33267;&#23569;<span class="_ _0"> </span></span>512<span class="_ _0"> </span><span class="ff1">&#27604;&#29305;&#65307;&#32780;&#26925;&#22278;&#26354;&#32447;&#30340;&#21442;&#25968;<span class="_ _0"> </span></span>P<span class="_ _0"> </span><span class="ff1">&#33267;&#23569;<span class="_ _0"> </span></span>128<span class="_ _0"> </span><span class="ff1">&#27604;&#29305;&#65307;</span></div><div class="t m0 x2 h4 yf ff3 fs1 fc0 sc1 ls0 ws0">2.<span class="_ _2"> </span><span class="ff1">&#27604;&#36739;&#20004;&#20010;&#31639;&#27861;&#30340;&#36816;&#34892;&#25928;&#29575;&#12290;</span></div><div class="t m0 x2 h4 y10 ff1 fs1 fc0 sc0 ls0 ws0">&#39064;&#20108;&#65306;<span class="ff2 sc1"> </span>&#20844;&#38053;&#23494;&#30721;&#31639;&#27861;&#30340;&#21152;&#23494;&#19982;&#35299;&#23494;<span class="ff2 sc1"> (RSA-OAEP)</span></div><div class="t m0 x4 h8 y11 ff3 fs1 fc0 sc1 ls0 ws0"> </div><div class="t m0 x2 h4 y12 ff1 fs1 fc0 sc1 ls0 ws0">&#12304;&#38382;&#39064;<span class="_ _1"></span>&#25551;&#36848;&#12305;&#65306;<span class="_ _1"></span>&#22522;&#26412;&#30340;<span class="_ _3"> </span><span class="ff3">RSA<span class="_ _0"> </span></span>&#31639;<span class="_ _1"></span>&#27861;&#30001;&#20110;&#21516;<span class="_ _1"></span>&#24577;&#24615;&#65292;<span class="_ _1"></span>&#25152;&#20197;&#22312;<span class="_ _1"></span>&#23454;&#38469;&#30340;&#24212;<span class="_ _1"></span>&#29992;&#20013;&#65292;<span class="_ _1"></span>&#24182;&#19981;&#37319;<span class="_ _1"></span>&#29992;</div><div class="t m0 x2 h4 y13 ff1 fs1 fc0 sc1 ls0 ws0">&#22522;&#26412;&#30340;<span class="_ _0"> </span><span class="ff3">RSA<span class="_ _0"> </span></span>&#31639;&#27861;&#36827;&#34892;&#21152;&#23494;&#12290;&#26412;&#31243;&#24207;&#35201;&#27714;&#21033;&#29992;<span class="_ _3"> </span><span class="ff3">C/C++</span>&#35821;&#35328;&#65292;&#21033;&#29992;<span class="_ _0"> </span><span class="ff3">RSA-OAEP<span class="_ _0"> </span></span>&#31639;&#27861;</div><div class="t m0 x2 h4 y14 ff1 fs1 fc0 sc1 ls0 ws0">&#23545;&#32473;&#23450;<span class="_ _1"></span>&#30340;&#28040;&#24687;&#36827;<span class="_ _1"></span>&#34892;&#21152;&#23494;<span class="_ _1"></span>&#12290;&#20854;&#20013;<span class="_ _4"> </span><span class="ff3">RSA-OAEP<span class="_ _0"> </span></span>&#30340;&#21152;<span class="_ _1"></span>&#35299;&#23494;&#31034;<span class="_ _1"></span>&#24847;&#22270;&#22914;<span class="_ _1"></span>&#19978;&#65288;&#22823;&#23478;<span class="_ _1"></span>&#32534;&#31243;&#26102;<span class="_ _1"></span>&#65292;</div></div><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a></div><div class="pi" data-data='{"ctm":[1.611850,0.000000,0.000000,1.611850,0.000000,0.000000]}'></div></div> </body> </html>
评论
    相关推荐