对称加密算法DES 算法:一种典型的块加密方法,将固定长度的明文通过一系列复杂的操作变成同样长度的密文,块的长度为64位。同时,DES 使用的密钥来自定义变换过程,因此算法认为只有持有加密所用的密钥的用户才能解密密文。 DES 的密钥表面上是64位的,实际有效密钥长度为56位,其余8位可以用于奇偶校 ...
分类:
编程语言 时间:
2019-12-24 23:34:34
阅读次数:
135
ssh配置步骤: 启动ssh服务 ssh server enable 配置密钥对: public-key local create rsa public-key local create dsa 设置用户登录认证方式: user-interface vty 0 4[CORE-line-vty0-4] ...
分类:
Web程序 时间:
2019-12-24 20:55:06
阅读次数:
141
1)绑定用户 git config global user.name "Taury" git config global user.email "183 @163.com" 2)本地生成ssh key 并添加到github ssh keygen t rsa C "183 @163.com" 3)创建 ...
分类:
其他好文 时间:
2019-12-24 20:31:10
阅读次数:
93
生成公钥和私钥代码 package utils import ( "crypto/rand" "crypto/rsa" "crypto/x509" "encoding/pem" "fmt" "io/ioutil" ) func GenRSAPubAndPri(bits int,filepath st... ...
分类:
其他好文 时间:
2019-12-24 13:51:24
阅读次数:
137
/* * A JavaScript implementation of the RSA Data Security, Inc. MD5 Message * Digest Algorithm, as defined in RFC 1321. * Version 2.1 Copyright (C) Pa ...
分类:
Web程序 时间:
2019-12-23 20:42:51
阅读次数:
85
原文链接:http://www.cnblogs.com/sochishun/p/7028056.html 加密技术通常分为两大类:"对称式"和"非对称式"。 对称性加密算法:对称式加密就是加密和解密使用同一个密钥。信息接收双方都需事先知道密匙和加解密算法且其密匙是相同的,之后便是对数据进行加解密了。 ...
分类:
编程语言 时间:
2019-12-22 16:11:49
阅读次数:
91
在配置了ssh免密认证id_rsa.pub之后,在cmd终端可以实现免密登陆对应配置了密钥的服务器,但是在python程序中,想要调用cmd执行免密操作,还需要安装sshpass,sshpass用于非交互式的ssh密码验证 没有sshpass报错:to use the 'ssh' connectio ...
分类:
系统相关 时间:
2019-12-22 14:30:21
阅读次数:
126
Description Design an iterator over a binary search tree with the following rules: Description Design an iterator over a binary search tree with the f ...
分类:
其他好文 时间:
2019-12-22 00:54:29
阅读次数:
84
Find the hidden section of the photo galery. 找到相册的隐藏部分。 直接能够目录遍历: 虽然galerie禁止访问,但是密码就在里面 直接爆破或者爬虫吧 http://challenge01.root-me.org/web-serveur/ch15/gal ...
分类:
其他好文 时间:
2019-12-21 11:48:57
阅读次数:
95
一、排坑 1.ping github.com超时。修改C:\Windows\System32\drivers\etc的hosts文件,添加 # GitHub地址 192.30.255.112 github.com 185.31.16.184 github.global.ssl.fastly.net ...
分类:
其他好文 时间:
2019-12-21 10:09:40
阅读次数:
193