[Linux] ssh端口转发 2021-03-07 linux 405 words 1 min read Linux ssh 端口转发 SSH有三种端口转发模式: 本地端口转发(Local Port Forwarding) 远程端口转发(Local Port Forwarding) 动态端口转发(Dynamic Port Forwarding) 本地端口转发 使 Read more...
[Go] rsa OAEP 加密、解密在go中使用及mysql中的应用 2021-03-06 golang 1301 words 3 mins read rsa OAEP 加密、解密 OAEP全称为Optimal Asymmetric Encryption Padding.是一种非对称加密填充场景. 生成RSA证书 use the openssl command to set up the RSA key files. create 2,048-bit keys. 1 2 openssl genrsa -out Read more...
[MySQL] MySQL 8.0 身份验证插件(caching_sha2_password) 2021-03-05 mysql 847 words 2 mins read MySQL 8.0 身份验证插件(caching_sha2_password) MySQL 5.6/5.7 默认身份验证插件是 mysql_native_password, 依赖于 SHA1 算法 MySQL 5.6 开始支持 sha256_password 身份验证插件。它使用加盐密码 Read more...
[Go] 实现TCP连接的双向拷贝 2021-02-28 golang 497 words 1 min read 实现TCP连接的双向拷贝 用io.Copy来实现内容拷贝,将源端数据复制到目标端,为防止内存溢出, io.Copy方法默认缓冲区为32k,io. Read more...
[唐] 《忆秦娥·箫声咽》 2021-02-06 中文 69 words 1 min read 《忆秦娥·箫声咽》唐·李白 箫声咽,秦娥梦断秦楼月。 秦楼月,年年柳色,灞陵伤别。 乐游原上清秋节,咸阳古道音尘绝。 音尘绝,西风残照,汉家陵阙。 Read more...