libressl

阿里云服务器安装python3.7.3,解决openssl问题

泪湿孤枕 提交于 2021-01-06 14:11:18
一、下载python3.7.3版本的压缩包 wget http://www .python .org/ftp/python/ 3.7 .3/Python- 3.7 .3 .tgz 二、下载完成后解压,进入Python- 3.7 .3文件夹 挨个执行以下三个操作 ./configure make make install 在执行make过程中会出现很多问题,这些问题一定要一一排查解决,例如: 仔细看警告或者错误的提示,安装缺少的工具(本人展示的是在centos系统上安装,若在ubuntu上使用apt-get命令,包名称自行百度) yum install ncurses-devel yum install libuuid-devel yum install -y zlib zlib-devel yum install sqlite-devel yum install readline-devel yum install tkinter yum -y install tcl-devel tk-devel yum install lzma yum install libgdbm-dev yum install xz-devel 参考链接: https://www.cnblogs.com/bigriverx/p/8743008.html 此文意在解决下面这个问题: Could not

RSA遇上中国剩余定理

南笙酒味 提交于 2020-08-05 04:41:16
1.Introduction 最近读论文刚好用到了这个,之前只是有耳闻,没有仔细研究过,这里就好好捋一下,会逐步完善 不过貌似CRT(中国剩余定理)的实现更容易被攻击 2. RSA: Overview rsa算法描述如下: 选择两个大素数 \(p、q\) ,计算 \(N = p*q\) (最好保证N在2048bit以上,最新的研究工作已经可以成功分解762bit的N) 计算 \(\phi(N)=(p-1)*(q-1)\) 选择一个 \(e\) 使得 \(gcd(e, \phi(n)) == 1\) ,e由于是作加密使用,故推荐使用小值,推荐使用3、65537( \(2^{16}+1\) ),65537只有两个1bit,所以在幂运算(参加我的另一篇博客: 快速指数算法 )时只需要两次额外的乘法运算;此外,不需要担心使用固定值会造成的安全问题,RSA的安全性不会受影响 计算 \(ed = 1 (\mod\phi(n))\) ,得到 \(d\) 值用于解密 公钥:(N, e),私钥:(N, d) 一次RSA加解密: \[c = m^e \mod N\\ m = d^d \mod N\\ \] 解释: 即 \(m = (m^e)^d = m^{1\mod\phi(N)}=m^{h*\phi(N)+1}\mod N\) , 由欧拉定理 \(a^{\phi(n)}=1 \mod n\)

How to install wget in macOS? [closed]

北城余情 提交于 2019-12-20 08:29:38
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . I try to install wget in MAC OS 10.11.1 but when I run ./configure --with-ssl=openssl I get this error: configure: error: --with-ssl=openssl was given, but SSL is not available. How to resolve this problem in OSX 10.11.1? 回答1: Using brew First install brew: ruby -e "$(curl -fsSL https://raw.githubusercontent.com

`dotnet new command` in openSuse causes `No usable version of the libssl was found` error

末鹿安然 提交于 2019-12-11 05:13:40
问题 I'm trying to develop .NET Core in openSuse. I did install the SDK and everything in tutorials. Now, when I try to run dotnet new console command, I get this error: No usable version of the libssl was found Aborted (core dumped) I found this answer: (.NET Core 2.1 SDK Linux x64 No usable version of the libssl was found), but didn't get what should I do to solve problem. They seems are deep-linuxer (which I'm not, I'm just trying to learn linux). Have any idea how to run the command? UPDATE: