实验内容

任务一

首先,在这篇博客指导下安装并运行OPENSLL,并按实验要求进行,

  • OpenSSL密码算法库

编写一个测试代码test_openssl.c:

#include <stdio.h>
#include <openssl/evp.h>

int main(){
    
    OpenSSL_add_all_algorithms();
    
    return 0;
}

然后用下面命令编译:

gcc -o to test_openssl.c -I /usr/local/ssl/inlcude /usr/local/ssl/lib -ldl -lpthread

执行./to;echo $?,

结果打印0.

  • 提交运行结果截图

20155226 2017-2018-1 《信息安全系统设计基础》实验5报告

任务二

  • 在Ubuntu中实现对实验二中的“wc服务器”通过混合密码系统进行防护

20155226 2017-2018-1 《信息安全系统设计基础》实验5报告

  • 截图

20155226 2017-2018-1 《信息安全系统设计基础》实验5报告

相关文章:

  • 2021-12-13
  • 2021-08-09
  • 2022-02-07
  • 2021-06-15
  • 2021-12-05
  • 2021-08-07
  • 2021-12-12
猜你喜欢
  • 2021-06-17
  • 2021-08-23
  • 2021-09-21
  • 2022-03-01
  • 2022-03-05
  • 2021-08-07
相关资源
相似解决方案