摘要:
使用openssl生成公钥和私钥 C:\Users\Administrator\Desktop>openssl genrsa -out rsa_private_key.pem 1024 Generating RSA private key, 1024 bit long modulus ....... 阅读全文
摘要:
# -*- coding: utf-8 -*- from Crypto import Random from Crypto.PublicKey import RSA import binascii def ByteToHex( bins ): """ Convert a byte string to 阅读全文
摘要:
1.备份的目标为目录 #!/bin/bash cd /opt/backup NUM1=$(/bin/ls -l |grep "^d"|awk '{print $9}'|wc -l) NUM2=$(/usr/bin/expr $NUM1 - 3) /bin/ls -l |grep "^d"|awk ' 阅读全文