package main import ( "crypto" "crypto/rand" "crypto/rsa" "crypto/x509" "encoding/base64" "encoding/pem" "errors" "fmt" "io/ioutil" ) func main() { st ...
分类:
编程语言 时间:
2020-01-28 23:33:30
阅读次数:
135
package main import ( "bytes" "crypto/aes" "crypto/cipher" "crypto/des" "encoding/base64" "fmt" ) // main 入口函数 func main() { // DES密钥 key := "12345678 ...
分类:
编程语言 时间:
2020-01-28 10:52:20
阅读次数:
100
验证结果网址 http://www.fileformat.info/tool/hash.htm "golang.org/x/crypto/md4"不存在时,解决方法: cd $GOPATH/src mkdir -p golang.org/x/ cd golang.org/x/ git clone h ...
分类:
编程语言 时间:
2020-01-27 09:21:15
阅读次数:
84
import java.util.Base64; import javax.crypto.Cipher; import javax.crypto.SecretKey; import javax.crypto.SecretKeyFactory; import javax.crypto.spec.DES ...
分类:
其他好文 时间:
2020-01-19 19:33:16
阅读次数:
85
/* CryptoJS v3.1.2 code.google.com/p/crypto-js (c) 2009-2013 by Jeff Mott. All rights reserved. code.google.com/p/crypto-js/wiki/License */ var Crypto ...
分类:
编程语言 时间:
2020-01-17 19:05:36
阅读次数:
113
AES 可逆性加密算法 package com.lock.demo.service; import sun.misc.BASE64Decoder; import sun.misc.BASE64Encoder; import javax.crypto.Cipher; import javax.cryp ...
分类:
编程语言 时间:
2020-01-14 17:51:37
阅读次数:
146
根据微软帮助文档,convertto securestring有两种加密模式。如果在指定密码的情况下,则使用aes加密,否则使用windows dpapi加密。而且aes加密也没有指明iv值与加密模式。 https://docs.microsoft.com/en us/powershell/modu ...
分类:
编程语言 时间:
2020-01-12 18:34:15
阅读次数:
234
硬件加密卡,硬件加解密卡。 用于把加密解密,数据压缩等,从CPU卸载到加速卡上。 所有文档汇总:https://01.org/intel-quickassist-technology 性能调优手册:https://01.org/sites/default/files/downloads//33068 ...
分类:
Web程序 时间:
2020-01-10 15:51:29
阅读次数:
235
package com.huizhuyun.jeemis.api.openAPI.service;import org.slf4j.Logger;import org.slf4j.LoggerFactory;import javax.crypto.Cipher;import javax.crypto ...
分类:
其他好文 时间:
2020-01-06 09:59:30
阅读次数:
88
ecb模式:(这种不需要偏移向量iv,安全性较低,代码出处忘了) # -*- coding=utf-8-*- from Crypto.Cipher import AES import os from Crypto import Random import base64 from Crypto.Cip ...
分类:
编程语言 时间:
2020-01-01 18:54:05
阅读次数:
217