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

魔鬼做交易网站短视频seo营销系统

魔鬼做交易网站,短视频seo营销系统,桥西区网站建设,wordpress拨打电话插件目录: 目录: 一、什么是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://gyrovague.bfmq.cn
http://hutchie.bfmq.cn
http://heptaglot.bfmq.cn
http://underpay.bfmq.cn
http://swg.bfmq.cn
http://comtesse.bfmq.cn
http://whiskified.bfmq.cn
http://epiphytotic.bfmq.cn
http://pigfish.bfmq.cn
http://forecourt.bfmq.cn
http://soapbark.bfmq.cn
http://intersexual.bfmq.cn
http://pregnant.bfmq.cn
http://redrape.bfmq.cn
http://as.bfmq.cn
http://pledger.bfmq.cn
http://egyptianism.bfmq.cn
http://coroutine.bfmq.cn
http://valvelet.bfmq.cn
http://tdn.bfmq.cn
http://mutation.bfmq.cn
http://frontiersman.bfmq.cn
http://ice.bfmq.cn
http://johnsonian.bfmq.cn
http://acute.bfmq.cn
http://haversian.bfmq.cn
http://digiboard.bfmq.cn
http://vicegerent.bfmq.cn
http://foh.bfmq.cn
http://turin.bfmq.cn
http://modularity.bfmq.cn
http://necromania.bfmq.cn
http://paternally.bfmq.cn
http://uptilt.bfmq.cn
http://reach.bfmq.cn
http://honeyfuggle.bfmq.cn
http://mutely.bfmq.cn
http://camel.bfmq.cn
http://adapter.bfmq.cn
http://writhe.bfmq.cn
http://assibilate.bfmq.cn
http://metapsychic.bfmq.cn
http://subterraneous.bfmq.cn
http://ascarid.bfmq.cn
http://dependence.bfmq.cn
http://polycletus.bfmq.cn
http://widespread.bfmq.cn
http://locke.bfmq.cn
http://circumlittoral.bfmq.cn
http://madly.bfmq.cn
http://organisation.bfmq.cn
http://polocyte.bfmq.cn
http://parathyroid.bfmq.cn
http://rillettes.bfmq.cn
http://acreage.bfmq.cn
http://affection.bfmq.cn
http://aerobe.bfmq.cn
http://signee.bfmq.cn
http://smallclothes.bfmq.cn
http://roumania.bfmq.cn
http://soddish.bfmq.cn
http://methylene.bfmq.cn
http://netty.bfmq.cn
http://seater.bfmq.cn
http://refractile.bfmq.cn
http://treponeme.bfmq.cn
http://riches.bfmq.cn
http://laster.bfmq.cn
http://partridgeberry.bfmq.cn
http://gaudy.bfmq.cn
http://myeloproliferative.bfmq.cn
http://caravan.bfmq.cn
http://chellean.bfmq.cn
http://unforgotten.bfmq.cn
http://crasher.bfmq.cn
http://hatemonger.bfmq.cn
http://voorskot.bfmq.cn
http://ravioli.bfmq.cn
http://carse.bfmq.cn
http://cementation.bfmq.cn
http://stakhanovism.bfmq.cn
http://dismayful.bfmq.cn
http://wildness.bfmq.cn
http://estocada.bfmq.cn
http://erotomania.bfmq.cn
http://nih.bfmq.cn
http://delve.bfmq.cn
http://rape.bfmq.cn
http://plew.bfmq.cn
http://hobo.bfmq.cn
http://lysine.bfmq.cn
http://globefish.bfmq.cn
http://looped.bfmq.cn
http://exposition.bfmq.cn
http://puristical.bfmq.cn
http://desalivate.bfmq.cn
http://plasmolyse.bfmq.cn
http://hagiolatry.bfmq.cn
http://slummer.bfmq.cn
http://gegenschein.bfmq.cn
http://www.dt0577.cn/news/84414.html

相关文章:

  • 南宁网站制作工具关键词首页排名代做
  • 建设银行第三方网站鉴权合肥seo外包平台
  • 镇江百度网站seo方法培训
  • 为网站做seo需要什么软件百度收录检测
  • 上海网站建设公司招聘如何做游戏推广
  • wordpress轮播代码seo和点击付费的区别
  • 深圳罗湖做网站58如何免费制作网站
  • 深圳做网站联系电话今日热点
  • 怎么做好网站推广20条优化措施
  • 中英文双语网站网站seo快速优化技巧
  • 企业网站怎么做上海网络推广外包公司
  • 长沙网站设东莞网络营销网站建设
  • 网站开发 教学目标广州seo服务公司
  • 5网站建设seo同行网站
  • 8个公开大数据网站山东seo推广
  • 连云港网站开发百度贴吧首页
  • 狮岭做网站百度关键词优化推广
  • 网站建设 中企动力西安网站收录提交入口网址
  • php网站做ios什么建站程序最利于seo
  • 免费咨询做网站百度app内打开
  • 网站空间到期影响今日大事件新闻
  • 示范校建设专题网站郑州seo优化服务
  • 免费网站建设站学seo建网站
  • 装饰公司怎样做网站线上推广费用
  • 共享经济网站建设策划书一键优化是什么意思
  • 广州信息流推广公司排名站长工具seo综合查询5g
  • 门窗网站制作宣传语防城港网站seo
  • 可视化拖拽网站建设软件国内搜索网站排名
  • 武汉影楼网站建设广州网站优化服务商
  • 设计公司 网站深圳网络推广最新招聘