摘要: 代码编辑器 VisualStudioCode 文件对比工具 WinMerge 终端 electerm tabby WindTerm java开发IDE IntelliJ IDEA python开发IDE PyCharm FTP工具 filezilla 阅读全文
posted @ 2021-12-15 11:32 源世 阅读(108) 评论(0) 推荐(0) 编辑
摘要: https://juejin.cn/post/7195858568233386042 对称加密 对称加密就是加密和解密使用相同密钥的加密算法,这种加密算法的安全取决于密钥 非对称加密 非对称加密就是加密和解密使用了不同的密钥,分别称为公a钥和私钥。一般我们通过公钥加密,私钥解密。 数字签名 又称公钥 阅读全文
posted @ 2024-06-11 09:58 源世 阅读(3) 评论(0) 推荐(0) 编辑
摘要: https://david1840.github.io/2018/12/03/Android-JNI学习-使用第三方SO库/ CMakeList.txt 在CMake中将LibTest.so导入工程 cmake_minimum_required(VERSION 3.4.1) add_library( 阅读全文
posted @ 2024-03-20 11:06 源世 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 安装 mkdir -p ~/miniconda3 wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh sudo bash miniconda3/ 阅读全文
posted @ 2024-02-21 14:43 源世 阅读(51) 评论(0) 推荐(0) 编辑
摘要: 问题 findfont: Generic family 'sans-serif' not found because none of the following families were found: SimHei 解决方法 import matplotlib print(matplotlib.m 阅读全文
posted @ 2023-10-16 14:14 源世 阅读(679) 评论(0) 推荐(0) 编辑
摘要: SM4 OFB例子 import binascii from tongsuopy.crypto.ciphers import Cipher, algorithms, modes # key = "0123456789ABCDEFFEDCBA9876543210" # iv = "0123456789 阅读全文
posted @ 2023-09-15 23:49 源世 阅读(16) 评论(0) 推荐(0) 编辑
摘要: # 1. 制作密钥对 首先在服务器上制作密钥对。首先用密码登录到你打算使用密钥登录的账户,然后执行以下命令: [root@host ~]$ ssh-keygen > authorized_keys 如此便完成了公钥的安装。为了确保连接成功,请保证以下文件权限正确: [root@host .ssh]$ 阅读全文
posted @ 2023-07-27 16:11 源世 阅读(71) 评论(0) 推荐(0) 编辑
摘要: 原文:https://mp.weixin.qq.com/s/XRL1io-cGeljgU7880MB1A 表与链 表 iptables 的四个表分别是 filter,mangle,nat,raw,默认表是filter。 filter 表:用来对数据包进行过滤,具体的规则要求决定如何处理一个数据包。 阅读全文
posted @ 2022-12-07 17:19 源世 阅读(47) 评论(0) 推荐(0) 编辑
摘要: 官网 https://www.wireguard.com/ 安装 apt-get update apt-get install wireguard iptables 服务端配置 cd /etc/wireguard/ umask 077 wg genkey | tee private.key | wg 阅读全文
posted @ 2022-11-14 16:29 源世 阅读(185) 评论(0) 推荐(0) 编辑
摘要: https://www.bbsmax.com/A/nAJvP9Bodr/ 工作流程 内网主机向公网发送数据包时,由于目的主机跟源主机不在同一网段,所以数据包暂时发往内网默认网关处理,而本网段的主机对此数据包不做任何回应。由于源主机ip是私有的,禁止在公网使用,所以必须将数据包的源发送地址修改成公网上 阅读全文
posted @ 2022-11-10 22:42 源世 阅读(467) 评论(0) 推荐(0) 编辑
摘要: GNU C Language Intro and Reference - Git Repositories https://savannah.gnu.org/git/?group=c-intro-and-ref 阅读全文
posted @ 2022-09-07 16:04 源世 阅读(19) 评论(0) 推荐(0) 编辑