<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/">
<channel>
    <title>维吉尼亚密码加密解密教程 - Code666 (代码贴、代码片段)</title>
    <description>维吉尼亚密码加密解密教程 - Code666 (代码贴、代码片段)</description>
    <atom:link href="http://www.code666.cn/view/rss/63a82112" rel="self" type="application/rss+xml" />
    <link>http://www.code666.cn/</link>
    <language>en</language>
<item>
    <title>Re: 维吉尼亚密码加密解密教程</title>
    <link>http://www.code666.cn/view/1473b4c1</link>
    <pubDate>Tue, 10 May 2022 14:30:22 +0800</pubDate>
    <dc:creator>jk</dc:creator>
    <guid isPermaLink="false">http://www.code666.cn/view/1473b4c1</guid>
    <description><![CDATA[https://blog.csdn.net/weixin_46024145/article/details/114840238 Vigenere算法如何进行加密操作？ https://blog.csdn.net/aaa_hao/article/details/122747243 【密码学】Vigenere 维吉尼亚算法加解密 维吉尼亚密码加密解密教程 假设我们要加密一段字母： huan ying&#8230;]]></description>
    <content:encoded><![CDATA[<div class="text" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">https://blog.csdn.net/weixin_46024145/article/details/114840238 &nbsp; &nbsp;Vigenere算法如何进行加密操作？</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">https://blog.csdn.net/aaa_hao/article/details/122747243 &nbsp; 【密码学】Vigenere 维吉尼亚算法加解密</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">维吉尼亚密码加密解密教程</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">假设我们要加密一段字母： &nbsp; huan &nbsp;ying &nbsp;ni 。 &nbsp; 秘钥是hello</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">1，首先制作字母表</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">写一排字母(大小写通用），下一行写上对应的数字 &nbsp;从0到25</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">a &nbsp;b &nbsp;c &nbsp;d &nbsp;e &nbsp;f &nbsp;g &nbsp;h &nbsp;i &nbsp;j &nbsp;k &nbsp; l &nbsp; m &nbsp; n &nbsp; o &nbsp; p &nbsp; q &nbsp; r &nbsp; s &nbsp; t &nbsp; u &nbsp; v &nbsp; w &nbsp; x &nbsp; y &nbsp; z</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">0 &nbsp;1 &nbsp;2 &nbsp;3 &nbsp;4 &nbsp;5 &nbsp;6 &nbsp;7 &nbsp;8 &nbsp;9 &nbsp;10 &nbsp;11 &nbsp;12 &nbsp;13 &nbsp;14 &nbsp;15 &nbsp;16 &nbsp;17 &nbsp;18 &nbsp;19 &nbsp;20 &nbsp;21 &nbsp;22 &nbsp;23 &nbsp;24 &nbsp;25</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">2，将待加密的明文huan ying &nbsp;ni转换成数字</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">如 &nbsp;huan ying ni 。 转换之后是</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">h &nbsp;u &nbsp; a &nbsp;n &nbsp; &nbsp; &nbsp;y &nbsp; i &nbsp; n &nbsp; g &nbsp; &nbsp; &nbsp; n &nbsp; i</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">7 &nbsp;20 &nbsp;0 &nbsp;13 &nbsp; &nbsp; 24 &nbsp;8 &nbsp; 13 &nbsp;6 &nbsp; &nbsp; &nbsp; 13 &nbsp;8</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">3,将秘钥hello转换成数字并循环显示，重复位数和明文位数一样，如明文为10位，则密文也是10位</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">h &nbsp; e &nbsp; l &nbsp; l &nbsp; o &nbsp; h &nbsp; e &nbsp; l &nbsp; l &nbsp; o</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">7 &nbsp; 4 &nbsp; 11 &nbsp;11 &nbsp;14 &nbsp;7 &nbsp; 4 &nbsp; 11 &nbsp;11 &nbsp;14</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">4, 将明文和秘钥按位数相加,注意空格要留空，标点符号不需要转换，直接写在密文相应位置</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">14 &nbsp;24 &nbsp;11 &nbsp;24 &nbsp; &nbsp; &nbsp;38 &nbsp;15 &nbsp;17 &nbsp;17 &nbsp; &nbsp; &nbsp; 24 &nbsp;22</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">5，多于25的数字减去25</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">14 &nbsp; 24 &nbsp; 11 &nbsp; 24 &nbsp; &nbsp;13 &nbsp; 15 &nbsp; 17 &nbsp; 17 &nbsp; 24 &nbsp; 22</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">6，参照密码表，转换成字母密文为</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">o &nbsp; y &nbsp; l &nbsp; y &nbsp; &nbsp; n &nbsp; p &nbsp; &nbsp;r &nbsp; &nbsp;r &nbsp; &nbsp;y &nbsp; &nbsp;w</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">7,因此huan &nbsp;ying &nbsp;ni 。的密文是</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">oylz nprr yw。 &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">秘钥为hello</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">---------------------------------------------------------</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">解密过程</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">1，将密文 &nbsp;oylz nprr yw。 &nbsp;转换成数字</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">14 &nbsp; &nbsp;24 &nbsp; &nbsp; &nbsp;11 &nbsp; &nbsp;24 &nbsp; &nbsp; 13 &nbsp; &nbsp; 15 &nbsp; &nbsp; 17 &nbsp; &nbsp; &nbsp; &nbsp;17 &nbsp; &nbsp; &nbsp;25 &nbsp; &nbsp; &nbsp;22</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">2， 将秘钥hello转换为数字，循环重复，和明文一致</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">h &nbsp; e &nbsp; l &nbsp; l &nbsp; o &nbsp; h &nbsp; e &nbsp; l &nbsp; l &nbsp; o</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">7 &nbsp; 4 &nbsp; 11 &nbsp;11 &nbsp;14 &nbsp;7 &nbsp; 4 &nbsp; 11 &nbsp;11 &nbsp;14</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">3，密文减去秘钥</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">7 &nbsp; &nbsp; &nbsp;20 &nbsp; &nbsp; 0 &nbsp; &nbsp;13 &nbsp; &nbsp; &nbsp;-1 &nbsp; &nbsp; &nbsp; &nbsp;8 &nbsp; &nbsp; &nbsp;13 &nbsp; &nbsp; &nbsp;6 &nbsp; &nbsp; 14 &nbsp; &nbsp; 8</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">4，如果出现负数就加上25</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">7 &nbsp;20 &nbsp;0 &nbsp;13 &nbsp; &nbsp; 24 &nbsp;8 &nbsp; 13 &nbsp;6 &nbsp; &nbsp; &nbsp; 13 &nbsp;8</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">5，转换成明文字母</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">h &nbsp;u &nbsp; a &nbsp;n &nbsp; &nbsp; &nbsp;y &nbsp; i &nbsp; n &nbsp; g &nbsp; &nbsp; &nbsp; n &nbsp; i</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">6，整理得到</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">huan ying ni</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">秘钥：hello</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
</ol></div>]]></content:encoded>
</item>
<item>
    <title>Re: 维吉尼亚密码加密解密教程</title>
    <link>http://www.code666.cn/view/8e660d98</link>
    <pubDate>Tue, 10 May 2022 14:30:22 +0800</pubDate>
    <dc:creator>jk</dc:creator>
    <guid isPermaLink="false">http://www.code666.cn/view/8e660d98</guid>
    <description><![CDATA[U2FsdGVkX1+wHNJDzW+E8NEBpvQ3wtqtupAssYfpGltkXU13Dm0zANhYuNU52t1r1PY8DBEvk/IoBa0b6tv57X7vU8Uenq6C26cH OtftNmGCj7XEKFuAVv/1DTTKyrUWx+T99acVvbT51ArjhqOZNTBHyLLWNj3AXS+AFbVp7PhExZlCPXkzPhhzYhClkYYENfrzkFP+&#8230;]]></description>
    <content:encoded><![CDATA[<div class="text" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">U2FsdGVkX1+wHNJDzW+E8NEBpvQ3wtqtupAssYfpGltkXU13Dm0zANhYuNU52t1r1PY8DBEvk/IoBa0b6tv57X7vU8Uenq6C26cH</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">OtftNmGCj7XEKFuAVv/1DTTKyrUWx+T99acVvbT51ArjhqOZNTBHyLLWNj3AXS+AFbVp7PhExZlCPXkzPhhzYhClkYYENfrzkFP+</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">lpUsI7HwqlB9VxATSbOSaJ0Igl2twVUfM4/7A86iS3vWfOqfCoPfqwbyMPiA5yklHoMYbK4yiUxOhT3txnjFLBySYyx5DguX3E9S</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">plyq6jaRXL2EMjzEEfN0DfaGokxy3hmFEP3DEOPuFPs+wrnb2uiKglOJhaxdgBJWegzmQYVGvmc/xjElcxsvdQ9KOpDXnXR797p8</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">n/kZV36MzINnmKA+jKHGUR5ds/9QQThIQYXcEPI0myZZOoYkh/WfGN4sgJ9rQ8LhRSYpM6kCi5XV3zIWk3ozElFcIc6wFBb19exQ</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">AYZHg6jUXlw1j55GyjNfiVnGYT7ABcNvMxwIlOdMEYQHtizPx8Opn7pbEqssW+toqk/jzuz15LgkDF3roq3PmWONnHrmH1+6QTaq</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">2ElZYLZQfVWhoCI6cdrKwZaIWaukD/jyZztgCB0CCcaYFuyr0Hev7MZaevNeHkyKWb7BieF5ynRf18imkuY6ObDmxOSF/7Q4//NP</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">OIlfand0PCgT5XfHnbWM0dgiMBuL/LlVjbgCLRJ1kmQDQFDusY/TUDZU2VplTIb0YjNAWT2rTzqF8Kl4DMgzyExYNFT9AZGwhG2X</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">G+xgbcbHiskKZUab3hV1VoNjzi2Ah1BAISccl9lCpN774rj67srO62v4ELbsmoUMMBBmohD7i1b23Z2b7gs4med0kb/Br825UYE8</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">neeLGddA/IGruqHwDibyLR+r0HxwMaDepVPDXbrT9z2JixTzB+R9l1eUDbE3zlAXSfcpQxnrcOj+UJD4Mu6E+zLrucLHAkxdOQ/5</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">RC7DNmLLK4GdE8VWEcFeToDGNzQZvZZ8jElWEiXXuiPFqmmUSa5X4H2PEc5CvFMmQdGQ9teNw8N4j9OzOuhlGxaR0YqlXxNvqSpg</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">eX9I8Uvc6jP2NBT6ncBirXKK3cSzeWkiXVQuxAsbZUrDCxys9FX2+9bu7Y6h5JHdDEBjFTtpYGTOhskMLcACl4tHznP084xWFGC7</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">IXd0hX6vtIDpBQMla4b5NfmktpOpfl6JjCa+Ic7ELQ0q7O+UuSk6QJutx2g1oHpT7dHgM8CeEfO70Kr6d/kM9AKHJLTtCL2NARIg</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">dPWCZB1Nyj8Q+YYonfhpTzZLqNRjU3AtOOgYMBRRJXHeteyUD/8eyAJYriHZ9hvfQj18fPVyJYP1RuK33AeXO/MGq68aRS1bJUk1</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">qQyF0L6U51e5T+Y56eG8Lmhl3aMdLI/z9BsI/Q9tF7nZxNl/8qaIrJs2OVqehLpz7TQE2hVEdYdTtxF+m8zSC4jk2fAUVTsHN8HK</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">K86TdcRT+MIGxv3udSODMTzJ+GlwoFqhyfW4hgkRiL3XnMmajJawdsRLo4mJHZJp9ZnKHHiLI6UAyfCDwnk82bedOZ/fiGSW4zcl</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">4EnYL00fL97m1NJ81WP2tdmoPwxosLI8RvIyWm0qgyiwDAjsX0VLhnMmk17MX4J6hyIBZrqmHqxnlH/2ybXjUMvzBcZv8NlvgFzl</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">u5gFrgbt/wIi6YSngoMohBMjvZb8Zg1Sna0win7M4XfpD29+wuCdGNdQHUiQI5yTt/tVZpu7NcjQpMWF5HddBOFV3mWXJs63iiCc</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">6Lem3aOnqxMoXa62cJQHIRdZXMQAF94v/TgsDTS++FOMSV/8qcYCfDvl554XMYwEwS2PC+VLCPj34eEm2rb6fW4Q0MDDfRXUlOV+</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">hOradF2CAagxaLaQ4mddqA+iQxIdTnNZ9xKvQI7e68Biy1NEP4UcVDWrirZz2Wx2FDP9P6HuuIZTkShIt3KVTwfc6HYfo5fedbnl</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">JgwDJcVpUmL5AOf+q5Bs3Ofw1WBUEwCAtzk/7Ohv8rLwqysd</div></li>
</ol></div>]]></content:encoded>
</item>
<item>
    <title>Re: 维吉尼亚密码加密解密教程</title>
    <link>http://www.code666.cn/view/dec27ce4</link>
    <pubDate>Tue, 10 May 2022 14:20:42 +0800</pubDate>
    <dc:creator>Emerald Mockingjay</dc:creator>
    <guid isPermaLink="false">http://www.code666.cn/view/dec27ce4</guid>
    <description><![CDATA[https://blog.csdn.net/weixin_46024145/article/details/114840238 Vigenere算法如何进行加密操作？ https://blog.csdn.net/aaa_hao/article/details/122747243 【密码学】Vigenere 维吉尼亚算法加解密 维吉尼亚密码加密解密教程 假设我们要加密一段字母： huan ying&#8230;]]></description>
    <content:encoded><![CDATA[<div class="text" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">https://blog.csdn.net/weixin_46024145/article/details/114840238 &nbsp; &nbsp;Vigenere算法如何进行加密操作？</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">https://blog.csdn.net/aaa_hao/article/details/122747243 &nbsp; 【密码学】Vigenere 维吉尼亚算法加解密</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">维吉尼亚密码加密解密教程</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">假设我们要加密一段字母： &nbsp; huan &nbsp;ying &nbsp;ni 。 &nbsp; 秘钥是hello</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">1，首先制作字母表</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">写一排字母(大小写通用），下一行写上对应的数字 &nbsp;从0到25</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">a &nbsp;b &nbsp;c &nbsp;d &nbsp;e &nbsp;f &nbsp;g &nbsp;h &nbsp;i &nbsp;j &nbsp;k &nbsp; l &nbsp; m &nbsp; n &nbsp; o &nbsp; p &nbsp; q &nbsp; r &nbsp; s &nbsp; t &nbsp; u &nbsp; v &nbsp; w &nbsp; x &nbsp; y &nbsp; z</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">0 &nbsp;1 &nbsp;2 &nbsp;3 &nbsp;4 &nbsp;5 &nbsp;6 &nbsp;7 &nbsp;8 &nbsp;9 &nbsp;10 &nbsp;11 &nbsp;12 &nbsp;13 &nbsp;14 &nbsp;15 &nbsp;16 &nbsp;17 &nbsp;18 &nbsp;19 &nbsp;20 &nbsp;21 &nbsp;22 &nbsp;23 &nbsp;24 &nbsp;25</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">2，将待加密的明文huan ying &nbsp;ni转换成数字</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">如 &nbsp;huan ying ni 。 转换之后是</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">h &nbsp;u &nbsp; a &nbsp;n &nbsp; &nbsp; &nbsp;y &nbsp; i &nbsp; n &nbsp; g &nbsp; &nbsp; &nbsp; n &nbsp; i</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">7 &nbsp;20 &nbsp;0 &nbsp;13 &nbsp; &nbsp; 24 &nbsp;8 &nbsp; 13 &nbsp;6 &nbsp; &nbsp; &nbsp; 13 &nbsp;8</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">3,将秘钥hello转换成数字并循环显示，重复位数和明文位数一样，如明文为10位，则密文也是10位</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">h &nbsp; e &nbsp; l &nbsp; l &nbsp; o &nbsp; h &nbsp; e &nbsp; l &nbsp; l &nbsp; o</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">7 &nbsp; 4 &nbsp; 11 &nbsp;11 &nbsp;14 &nbsp;7 &nbsp; 4 &nbsp; 11 &nbsp;11 &nbsp;14</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">4, 将明文和秘钥按位数相加,注意空格要留空，标点符号不需要转换，直接写在密文相应位置</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">14 &nbsp;24 &nbsp;11 &nbsp;24 &nbsp; &nbsp; &nbsp;38 &nbsp;15 &nbsp;17 &nbsp;17 &nbsp; &nbsp; &nbsp; 24 &nbsp;22</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">5，多于25的数字减去25</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">14 &nbsp; 24 &nbsp; 11 &nbsp; 24 &nbsp; &nbsp;13 &nbsp; 15 &nbsp; 17 &nbsp; 17 &nbsp; 24 &nbsp; 22</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">6，参照密码表，转换成字母密文为</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">o &nbsp; y &nbsp; l &nbsp; y &nbsp; &nbsp; n &nbsp; p &nbsp; &nbsp;r &nbsp; &nbsp;r &nbsp; &nbsp;y &nbsp; &nbsp;w</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">7,因此huan &nbsp;ying &nbsp;ni 。的密文是</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">oylz nprr yw。 &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">秘钥为hello</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">---------------------------------------------------------</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">解密过程</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">1，将密文 &nbsp;oylz nprr yw。 &nbsp;转换成数字</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">14 &nbsp; &nbsp;24 &nbsp; &nbsp; &nbsp;11 &nbsp; &nbsp;24 &nbsp; &nbsp; 13 &nbsp; &nbsp; 15 &nbsp; &nbsp; 17 &nbsp; &nbsp; &nbsp; &nbsp;17 &nbsp; &nbsp; &nbsp;25 &nbsp; &nbsp; &nbsp;22</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">2， 将秘钥hello转换为数字，循环重复，和明文一致</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">h &nbsp; e &nbsp; l &nbsp; l &nbsp; o &nbsp; h &nbsp; e &nbsp; l &nbsp; l &nbsp; o</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">7 &nbsp; 4 &nbsp; 11 &nbsp;11 &nbsp;14 &nbsp;7 &nbsp; 4 &nbsp; 11 &nbsp;11 &nbsp;14</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">3，密文减去秘钥</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">7 &nbsp; &nbsp; &nbsp;20 &nbsp; &nbsp; 0 &nbsp; &nbsp;13 &nbsp; &nbsp; &nbsp;-1 &nbsp; &nbsp; &nbsp; &nbsp;8 &nbsp; &nbsp; &nbsp;13 &nbsp; &nbsp; &nbsp;6 &nbsp; &nbsp; 14 &nbsp; &nbsp; 8</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">4，如果出现负数就加上25</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">7 &nbsp;20 &nbsp;0 &nbsp;13 &nbsp; &nbsp; 24 &nbsp;8 &nbsp; 13 &nbsp;6 &nbsp; &nbsp; &nbsp; 13 &nbsp;8</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">5，转换成明文字母</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">h &nbsp;u &nbsp; a &nbsp;n &nbsp; &nbsp; &nbsp;y &nbsp; i &nbsp; n &nbsp; g &nbsp; &nbsp; &nbsp; n &nbsp; i</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">6，整理得到</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">huan ying ni</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">秘钥：hello</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
</ol></div>]]></content:encoded>
</item>
</channel>
</rss>
