- 博客(4)
- 收藏
- 关注
原创 基于卷积神经网络的加密方法识别(字符串区分)
import torch, datetime, time import torch.nn as nn import numpy as np from sklearn.model_selection import train_test_split def get_char_set(): with open('AES.txt') as f: AES = f.read() with open('DES.txt') as f: DES = f.read() .
2021-12-03 09:34:15
1242
原创 基于python的AES,DES随机密钥生成及批量加密
#!/usr/bin/env python # -*- coding=utf-8 -*- """ AES加密解密工具类 数据块128位 key 为16位 iv 为16位,且与key相等 字符集utf-8 输出为base64 AES加密模式 为cbc 填充 pkcs7padding """ from Crypto.Cipher import AES from Crypto.Cipher import DES from pyDes import des, CBC, PAD_PKCS5 import binas.
2021-12-03 09:31:37
2136
原创 Python批量生成AES随机密钥并对指定内容进行加密,之后将密钥以及加密结果写入TXT中
#!/usr/bin/env python # -*- coding=utf-8 -*- """ AES加密解密工具类 数据块128位 key 为16位 iv 为16位,且与key相等 字符集utf-8 输出为base64 AES加密模式 为cbc 填充 pkcs7padding """ import base64 from Crypto.Cipher import AES import random def pkcs7padding(text): """ 明文使用PKCS7填充 .
2021-11-18 09:11:16
2187
原创 优快云完美打印代码(自用)
(function(){ $("#side").remove(); $("#comment_title, #comment_list, #comment_bar, #comment_form, .announce, #ad_cen, #ad_bot").remove(); $(".nav_top_2011, #header, #navigator").remove(); $(".csdn-side-toolbar,.template-box,.reward-user-...
2021-10-14 09:23:25
494
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅