![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Cryptography
文章平均质量分 82
Joyce_BY
这个作者很懒,什么都没留下…
展开
-
Hill Cipher and a Variant
Hill CipherAuthorized by: Joyce Email: dalinca@icloud.comWhat’s Hill Cipher?the Hill cipher is a polygraphic substitution cipher based on linear algebra. Its encryption function is describ...原创 2018-09-23 13:03:11 · 909 阅读 · 1 评论 -
Hacking Vigenère Cipher
Ciphertext-only Attack to Vigenère Cipherplatform: windows 10 environment: python 3.7.0Pre-knowledgesWhat’s vigenere cipher?The Vigenère cipher is a method of encrypting alphabetic text by u...原创 2018-09-23 13:02:58 · 519 阅读 · 0 评论 -
Easy Cipher Decryption
Cipher Decryption - Classical Ciphers and Variants authorized by Joyce_BY, all rights reserved.contact by email: Yagnes0126@gmail.comcaesar cipher / shift cipher / Caesar’s cipher / Caesar’...原创 2018-09-21 21:23:17 · 399 阅读 · 0 评论 -
AES-128-CBC-PKCS5PADDING 加解密实现
Author: Joyce_BY, all rights reserved.Contact by email: Yagnes0126@gmail.com本文目的及实验环境1、实现128-bit的AES加解密过程2、python3.7.0,windows10原理及代码整体原理图注意:最后一轮变换没有mixcolumn过程。 数据分组将一开始传入AES算法模块的数据,...原创 2018-10-25 20:20:18 · 7332 阅读 · 0 评论 -
SHA-1加密实现
Copyright © 2018 Joyce_BYAll rights reserved.Contact by Yagnes0126@gmail.com实验原理SHA-1接受一串二进制输入,加密后得到160bit的消息摘要,是一种hash加密。算法的主要过程如下:接收一串比特流,对其进行如下扩展:在比特流尾部添加一个‘1’;在新的比特流的尾部添加[0,512)个‘0’,使得...原创 2018-11-08 12:06:42 · 2155 阅读 · 0 评论 -
RSA私钥加密解密
Copyright © 2018 Joyce_BYAll rights reserved.Contact by Yagnes0126@gmail.com实验原理及算法generate key本次仿真利用私钥(n,sID)生成公钥,具体过程如下:A)选择一对512bit的素数p,q,计算n = p * q;B)计算fn = (p-1) * (q-1);C)根据e * d ≡ 1 ...原创 2018-11-08 12:10:15 · 574 阅读 · 0 评论