```
yum install gcc gcc-c++
yum install make
yum -y install zlib*
yum install libffi-devel
yum install openssl-devel
``` ```
wget https://www.python.o... ...
分类:
编程语言 时间:
2020-01-08 20:52:10
阅读次数:
71
在存储服务上操作(storge) 1.安装依赖(st-01 st-02) 命令:[root@storage01 ~]# yum install -y pcre pcre-devel openssl openssl-devel gd-devel 命令:[root@storage02 ~]#yum in ...
分类:
其他好文 时间:
2020-01-08 18:41:22
阅读次数:
97
整理转换方法: public class BytesTranfer { /// <summary> Convert a string of hex digits (ex: E4 CA B2) to a byte array. </summary> /// <param name="s"> The s ...
创建枚举类,以汽车为例 package com.lw.coodytest.enums; /** * @Classname CarTypeEnum * @Description 汽车类型枚举 * @Author lw * @Date 2020-01-08 11:32 */ public enum Ca ...
分类:
编程语言 时间:
2020-01-08 12:19:35
阅读次数:
1022
1、安装依赖 yum install ebtables ethtool iproute iptables socat util-linux wget openssl-devel -y 2、安装 docker-compose yum install epel-release -y yum instal ...
分类:
其他好文 时间:
2020-01-08 11:02:15
阅读次数:
110
今天用openssl_pkey_get_private()函数遇到了一个大坑: 如果你的私钥文件(private_key.pem)是 BEGIN PRIVATE KEY 字符串字符串 END PRIVATE KEY 要是私钥文件的字符串全部写在一行 此函数就会返回false,我的php版本是5.6版 ...
分类:
Web程序 时间:
2020-01-07 22:51:40
阅读次数:
311
一直被AC自动机这个名字唬住,以为很难,自动AC?其实不是。数模还有CA自动机(元胞自动机),听起来也怪吓人的,对ACM选手来说,算是一种模拟。 AC自动机=字典树+KMP。字典树是必须要懂的;KMP主要了解一下回溯思想,问题不大。 KMP解决的是一个母串和一个模式串的匹配问题。 字典树解决的是许多 ...
分类:
其他好文 时间:
2020-01-07 19:50:13
阅读次数:
64
1 <?php 2 3 class Ecdsa 4 { 5 private $alg; 6 7 public function __construct() { 8 $this->alg = OPENSSL_ALGO_SHA256; 9 } 10 11 /** 12 * 加密 13 * @param ...
分类:
Web程序 时间:
2020-01-07 13:10:58
阅读次数:
302
一、Apache+openssl 实现 https HTTPS(全称:Hypertext Transfer Protocol Secure,超文本传输安全协议),是以安全为目标的 HTTP 通道,简单讲是 HTTP 的安全版。即 HTTP 下加入 SSL 层,用于安全的 HTTP 数据传输。这个系统 ...
分类:
Web程序 时间:
2020-01-07 13:05:17
阅读次数:
87
参考地址:https://github.com/dotnet/corefx/issues/40538 According to https://www.ssllabs.com/ssltest/analyze.html?d=api-fxpractice.oanda.com their key exch ...
分类:
Web程序 时间:
2020-01-07 00:40:52
阅读次数:
104