首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 编码C base64的实现

编码C base64的实现

  • 资源大小:2.40 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: 编码 实现

资 源 简 介

Description This is a simple base64 encoding implementation, based on the openSSL library. I found this code on http://www.ioncannon.net and modified it a bit with some Linux compatibility and a decoding function. Compiling: To compile this code you need the openSSL development libraries. In Windows I copied all the headers and lib files into my Dev-Cpp folder and compiled the code with the command: gcc base64.c -l libeay32 or for static linking: gcc base64.c /usr/lib/libcrypto.a In Linux/Unix it is: gcc base64.c -lssl More: To compile the test binary use a command like: Windows: gcc base64.c testB64.c -o testB64.exe -l libeay32 Linux: gcc base64.c testB64.c -o testB64.exe -lssl or use the Makefile WINDOWS NOTE: * After compiling, you need the libeay32.dll file in the directory of your co

文 件 列 表

base64.c
base64.h
Makefile
testB64.c
VIP VIP
0.175523s