在下不才,用RSA给您拜年了:
import gmpy2
from Crypto.Util.number import *
def rsa(m):#定义一个加密函数,传入参数为m
e = 2 n = 14157878492255346300993349653813018105991884577529909522555551468374307942096214964604172734381913051273745228293930832314483466922529240958994897697475939867025561348042725919663546949015024693952641936481841552751484604123097148071800416608762258562797116583678332832015617217745966495992049762530373531163821979627361200921544223578170718741348242012164115593777700903954409103110092921578821048933346893212805071682235575813724113978341592885957767377587492202740185970828629767501662195356276862585025913615910839679860669917255271734413865211340126544199760628445054131661484184876679626946360753009512634349537
c = pow(m, e, n)#c等于将传入的m的e次方再整除n取余数
return c#返回c的值
list=[*,*,*,*]#此处为明文列表 #tips:明文都是单个汉字 rsa_list=[]#加密后的密文列表 for i in list:#依次对列表数据进行读取 i=ord(i)#取当前数据的ascii值 c1=rsa(i)#执行加密 rsa_list.append(c1)#添加进密文列表 print(rsa_list)#输出密文列表 #输出结果为 #[677665024, 584672400, 602948025, 401922304] #tips:在线开方可以使用http://www.factordb.com/ #ascii与字符转换可使用https://www.qqxiuzi.cn/bianma/ascii.htm





![[娱乐] 超女厉娜竟是靠贞操晋级5强的-微慑信息网-VulSee.com](http://8341.b.lunqun.com/attachment/m127/28/69/28692/Type_jpg/18892_6471_7483f150a147cad.jpg)




![[娱乐] 范冰冰章子怡等百位明星身份证照曝光(图)-微慑信息网-VulSee.com](http://img2.cache.netease.com/ent/2009/2/16/20090216133037d442e.jpg)


![[八卦] 王婷婷—揭秘一个大三女生的性爱录像-微慑信息网-VulSee.com](http://free.86hy.com/crack/pic/1.jpg)
![[随笔]今天国际警察节-微慑信息网-VulSee.com](http://photo.sohu.com/20041017/Img222528326.jpg)

青云网
