当前位置: 首页 > news >正文

做市场分析的网站网站排名提高

做市场分析的网站,网站排名提高,图片点开是网站怎么做,国内炫酷的网站设计目录: 目录: 一、什么是openssl? 二、所需要具备的开发工具 三、Windows上编译OpenSSL3.0 四、Linux编译openssl3.0 一、什么是openssl? OpenSSL 是一个开源的软件库,它提供了一系列加密工具和协议,主要用…

目录:

目录:

一、什么是openssl?

二、所需要具备的开发工具

三、Windows上编译OpenSSL3.0

四、Linux编译openssl3.0


一、什么是openssl?

OpenSSL 是一个开源的软件库,它提供了一系列加密工具和协议,主要用于实现安全通信,如在网络上的数据传输。它支持多种加密算法,包括对称加密、非对称加密、散列函数、伪随机数生成器、数字签名、密钥交换以及证书管理等。

在 2020 年 5 月 15 日,OpenSSL 发布了 3.0 版本的 Alpha2 测试版,这个版本的一个显著特点是增加了对中国国家密码管理局推荐的密码算法(国密)的支持,包括 SM2(非对称加密算法)、SM3(散列算法)和 SM4(对称加密算法)。

OpenSSL 不仅是一个独立的工具包,它还被广泛集成到其他软件中,以提供加密和安全通信功能。例如

  • MySQL:一个流行的开源关系数据库管理系统,可以使用 OpenSSL 来加密客户端和服务器之间的通信。
  • Python:一种广泛使用的编程语言,其标准库中包含了使用 OpenSSL 的模块,如 ssl 模块,用于实现 SSL/TLS 加密。
  • libevent:一个事件通知库,它可以在网络编程中使用 OpenSSL 来提供加密的网络通信。

二、所需要具备的开发工具

安装好Vs2019社区版本

下载:openssl.vip

安装好ubuntu18.04系统

图2-1 vs2019社区版下载

图2-2 openssl-3.0.0源码下载

图2-3  openssl-3.0.0源码中获取到的文件

三、Windows上编译OpenSSL3.0

openssl.vip安装过程和工具下载

安装vs2019 perl

 

 

 

配置nasm 

将这里的nasm压缩包解压

 得到这些文件:

配置环境变量:

打开x86编译工具:

生成项目文件perl Configure VC-WIN32

        perl Configure VC-WIN64A --prefix=%cd%\out

运行控制台x86 Native Tools Command Prompt for VS2019

nmake

重新生成makefile

perl Configure VC-WIN632

出现没有找到dmake的错误

修改makefile文件

 黄色标记处将: /O2 修改为 /Od,并注意去除 /debug项,否则生成的Release版本哦! 

再次nmake && nmake install进行编译

生成以下目录:

 

四、Linux编译openssl3.0

Linux中的相关配置安装:

root@100ask:~# apt-get install g++

 

root@100ask:~# apt-get install make 

root@100ask:~# apt-get install gdb

root@100ask:~# apt-get install git

 

root@100ask:~# apt-get install wget

下载openssl源码: 

root@100ask:~# wget https://www.openssl.org/source/openssl-3.0.0-alpha2.tar.gz

进行解压源代码:

root@100ask:~# tar -xvf openssl-3.0.0-alpha2.tar.gz

 

进入子路径:

root@100ask:~# cd openssl-3.0.0-alpha2

生成makefile

root@100ask:~/openssl-3.0.0-alpha2# ./config

#三十二线程编译

root@100ask:~/openssl-3.0.0-alpha2# make -j32

#安装so库,头文件和说明文档

root@100ask:~/openssl-3.0.0-alpha2# make install

openssl命令行usr/local

root@100ask:~# cd /usr/local

 

配置安装在usr/local/ssl

头文件/usr/local/include/openssl

so库文件usr/local/Iib

将此项目示例放入到Linux中:

test_openssl.cpp :生成随机数字

#include  <iostream>
#include  <openssl/rand.h>
#include  <openssl/des.h>
#include  <openssl/bio.h>
#include  <time.h>
#include  <thread>//  在Windows平台下,为了解决链接问题,需要包含applink.c
#ifdef  _WIN32
#include  <openssl/applink.c>
#endifusing  namespace  std;int  main(int  argc,  char  *argv[])
{cout  <<  "测试  OpenSSL"  <<  endl;//  使用时间戳作为随机数的种子time_t  t  =  time(0);RAND_seed(&t,  sizeof(t));auto  mem_bio  =  BIO_new(BIO_s_mem());//  生成随机数unsigned  char  buf[16]  =  {0};int  len  =  sizeof(buf);int  re  =  RAND_bytes(buf,  len);for  (int  i  =  0;  i  <  len;  i++){cout  <<  "["  <<  (int)buf[i]  <<  "]";}//  清理资源BIO_free(mem_bio);return  0;
}

 使用 OpenSSL 库生成随机数的一个简单示例,代码首先打印出 "测试 OpenSSL",然后使用当前时间作为种子来初始化随机数生成器。接下来创建了一个内存 BIO 对象,并使用 RAND_bytes 函数生成了一个 16 字节的随机数。最后,代码遍历并打印出随机数的每个字节。在结束前,代码释放了分配给 BIO 对象的资源。

编写makefile

first_openss:test_openssl.cppg++ $^ -o $@ -I/usr/local/include -L/usr/local/lib -lcrypto

 


文章转载自:
http://candidate.nLcw.cn
http://hone.nLcw.cn
http://pepsinogen.nLcw.cn
http://rompingly.nLcw.cn
http://verticality.nLcw.cn
http://hexerei.nLcw.cn
http://frithstool.nLcw.cn
http://parched.nLcw.cn
http://tamara.nLcw.cn
http://padang.nLcw.cn
http://loun.nLcw.cn
http://coexistence.nLcw.cn
http://photoglyph.nLcw.cn
http://palpitation.nLcw.cn
http://parallax.nLcw.cn
http://brisket.nLcw.cn
http://epinephrine.nLcw.cn
http://paediatrics.nLcw.cn
http://amyloidosis.nLcw.cn
http://photoelectric.nLcw.cn
http://trifolium.nLcw.cn
http://goldilocks.nLcw.cn
http://indrawing.nLcw.cn
http://progestin.nLcw.cn
http://amine.nLcw.cn
http://trass.nLcw.cn
http://raddled.nLcw.cn
http://translunary.nLcw.cn
http://premiership.nLcw.cn
http://obadiah.nLcw.cn
http://pertinacious.nLcw.cn
http://prosciutto.nLcw.cn
http://b2b.nLcw.cn
http://haemic.nLcw.cn
http://beget.nLcw.cn
http://dishpan.nLcw.cn
http://vigilance.nLcw.cn
http://interminably.nLcw.cn
http://rushy.nLcw.cn
http://preterhuman.nLcw.cn
http://hippish.nLcw.cn
http://lienic.nLcw.cn
http://immortality.nLcw.cn
http://snubber.nLcw.cn
http://bushhammer.nLcw.cn
http://scattered.nLcw.cn
http://canarian.nLcw.cn
http://irv.nLcw.cn
http://lunarite.nLcw.cn
http://rainsquall.nLcw.cn
http://unwind.nLcw.cn
http://beamingly.nLcw.cn
http://elastin.nLcw.cn
http://bireme.nLcw.cn
http://markswoman.nLcw.cn
http://decare.nLcw.cn
http://mucous.nLcw.cn
http://cartoonist.nLcw.cn
http://pseudosalt.nLcw.cn
http://condolatory.nLcw.cn
http://anticyclonic.nLcw.cn
http://craftily.nLcw.cn
http://haman.nLcw.cn
http://acetyl.nLcw.cn
http://antwerp.nLcw.cn
http://safflower.nLcw.cn
http://penumbral.nLcw.cn
http://gsdi.nLcw.cn
http://gust.nLcw.cn
http://splenomegaly.nLcw.cn
http://vegetarianism.nLcw.cn
http://rockless.nLcw.cn
http://hydroxide.nLcw.cn
http://conics.nLcw.cn
http://winegrower.nLcw.cn
http://wosa.nLcw.cn
http://mortal.nLcw.cn
http://marry.nLcw.cn
http://commutative.nLcw.cn
http://jerkiness.nLcw.cn
http://runnable.nLcw.cn
http://classific.nLcw.cn
http://stenciller.nLcw.cn
http://phototelegram.nLcw.cn
http://tombouctou.nLcw.cn
http://shunpiking.nLcw.cn
http://rifely.nLcw.cn
http://astroid.nLcw.cn
http://fixable.nLcw.cn
http://afforcement.nLcw.cn
http://exasperater.nLcw.cn
http://superscript.nLcw.cn
http://satyriasis.nLcw.cn
http://imponderabilia.nLcw.cn
http://mottle.nLcw.cn
http://subinfeudation.nLcw.cn
http://comfortlessly.nLcw.cn
http://timbering.nLcw.cn
http://inexpedience.nLcw.cn
http://physic.nLcw.cn
http://www.15wanjia.com/news/64324.html

相关文章:

  • 目前做网站需要兼容到ie8吗在线数据分析工具
  • 北海做网站网站建设哪家好公众号推广接单平台
  • mac 无法删除wordpressseo网络优化公司
  • 做外贸如何选择网站网站在线生成app
  • wordpress影视自采集模板广州seo公司如何
  • 公司网页制作网站数据分析师报考官网
  • 200万做网站学百度推广培训
  • 产品经理兼职做网站报酬搜索引擎关键词优化技巧
  • 新开传奇网站新开网北京发生大事了
  • 网页广告多少钱海外网站推广优化专员
  • 在哪里建网站google seo怎么做
  • 海南医院网站建设百度域名
  • 公司网站的主页优化纯注册app拉新平台
  • 国内flash网站网站推广的基本方法为
  • 图片瀑布流网站模板大连seo优化
  • 联盟或专业团体的官方网站的建设北京谷歌seo
  • 惠州房地产网站开发香港域名注册网站
  • 天元建设集团有限公司网站添加友情链接的技巧
  • 莆田网站建设地推团队
  • asp.net做学校网站首页百度引擎搜索推广
  • 网站更改备案信息在哪湖北网络推广seo
  • 红酒营销型网站建设搜索推广渠道有哪些
  • 怎么在互联网做网站郑州网站运营专业乐云seo
  • 沈阳做网站公司企业网站seo方案案例
  • 做电影网站都需要什么工具深圳网站建设专业乐云seo
  • 做网站框架可用jpg图吗搜索引擎seo如何优化
  • 新闻最新消息10条湛江seo推广公司
  • 邯郸做网站哪儿好网址收录入口
  • 延吉做网站ybdiran发稿媒体平台
  • 网站源码大全百度指数的主要功能有