ChinaUnix.net
相关文章推荐:

aes c源码

如题,想借来参考下。谢谢

by zhangzg - C/C++ - 2006-06-07 11:47:15 阅读(1623) 回复(2)

相关讨论

头文件请看本版另外一个链接:http://bbs3.chinaunix.net/thread-1599312-1-2.html 问题:用cbc,下面的代码解码出现乱码,请高手帮忙指正,谢谢 [code] int color="red">aes_self_test( ) { int i, j, u, v; color="red">aes_context ctx; unsigned char buf[16],temp[16]; u = 1 >> 10; strcpy(buf,"test"); //color="red">aes_set_key( &ctx, buf, 128 + u * 64 ); color="red">aes_set_key( &ctx, buf, 128); unsigned ch...

by diyself - C/C++ - 2009-10-22 21:43:18 阅读(2128) 回复(5)

从网上cp过来的 [code] #ifndef _color="red">aes_H #define _color="red">aes_H /** * \brief color="red">aes context structure */ typedef struct { unsigned long erk[64]; /*!< encryption round keys */ unsigned long drk[64]; /*!< decryption round keys */ int nr; /*!< number of rounds */ } color="red">aes_context; /** * \brief color="red">aes key schedule * * \param ctx color="red">aes context to be ...

by diyself - C/C++ - 2009-10-20 10:24:45 阅读(6434) 回复(2)

各位大虾,谁有color="red">aes的c实现代码? 偶下载了布赖恩的修订版,但是似乎不是很好用 而且老爷子的注释不是很人道 :( 需要一个可用的加密函式 特别是在定义加密位数处加以注释,谢谢

by SATAND - C/C++ - 2004-12-23 08:01:09 阅读(1107) 回复(3)

各位大虾晚上好! 请问你们平时读什么源码,有没有什么好的c源码推荐一下。小菜我刚接触c,刚刚学完数据结构。 最好能请大家列出源码的具体下载地址。谢谢!

by 928655492 - C/C++ - 2009-06-10 23:41:07 阅读(2554) 回复(10)

#include #include using namespace std; struct test { char name[10]; float socre; test *next; }; test *head;//创建一个全局的引导进入链表的指针 test *create() { test *ls;//节点指针 test *le;//链尾指针 ls = new test;//把ls指向动态开辟的堆内存地址 head=NULL;//进入的时候先不设置head指针指向任何地址,因为不知道是否一上来就输入null跳出程序 le=head;//把链尾指针设置成刚刚动态开辟的堆内存地...

by lijinming119 - Linux文档专区 - 2008-07-14 15:05:43 阅读(726) 回复(0)

自己写的简单的mysql pool代码,因为没有找到现成的,如果谁有,别忘了给我一份哦。:em02: 这个pool需要用于多进程和多线程中. [code] //mysqlpool.h #ifndef __MYSQL_POOL_H__ #define __MYSQL_POOL_H__ #include typedef int MYSQL_Bool; typedef int MYSQL_Int; typedef int MYSQL_Status; #define MYSQL_False (0) #define MYSQL_True (!0) #define MAX_MYSQL_cONNEcTION 10 #define MIN_MYSQL_c...

by M.I.X - C/C++ - 2007-08-17 21:04:52 阅读(4794) 回复(4)

这两天想看下string.h下的函数实现源码,如,strtod. 在Vc里面找了半天,只找到头文件,没有实现方法,那个可以告诉我一下那有?? [ 本帖最后由 PassionUranus 于 2007-4-13 14:56 编辑 ]

by PassionUranus - C/C++ - 2007-04-14 06:03:26 阅读(2031) 回复(10)

c源码:常用攻击程序 Abstract 这里有一些是老的,现在看来并没有用,但他们都很有名。 1 Land 攻击一台Win95的机器。这是Win95的一个漏洞,以其IP地址和端口向自 己的同一个端口发起连接(发SYN),Win95即会崩溃。 /* land.c by m3lt, FLc crashes a win95 box */ #include #include #include #include #include #include #include #include //用于TcP校验和的伪头 struct pseudohdr { str...

by cuizhiyuan - Linux文档专区 - 2009-09-11 09:30:48 阅读(719) 回复(0)

【 标签:编程技术,源码天堂 】【 发布时间:2008-01-01 】 上一篇 下一篇 Abstract 这里有一些是老的,现在看来并没有用,但他们都很有名。 1 Land 攻击一台Win95的机器。这是Win95的一个漏洞,以其IP地址和端口向自 己的同一个端口发起连接(发SYN),Win95即会崩溃。 /* land.c by m3lt, FLc crashes a win95 box */ #include #include #include #include #include #include #include #include //用于TcP校...

by HJLin - Linux文档专区 - 2008-05-15 16:50:46 阅读(516) 回复(0)

小弟是c的初学者,哪位大哥有c的程序代码,最好有注释和流程图,请发给小弟谢谢 lixunhuan@citiz.net

by lixunhuan - C/C++ - 2004-06-07 12:52:26 阅读(1149) 回复(8)