摘要:
How to replace hash functions from openssl with gcrypt. I wondered how to do it, and hacked around. git source uses ssl, and I wanted that to change 阅读全文
posted @ 2007-05-11 18:03 OldHawk 阅读(6416) 评论(1) 推荐(0)
|
|||
|
摘要:
How to replace hash functions from openssl with gcrypt. I wondered how to do it, and hacked around. git source uses ssl, and I wanted that to change 阅读全文
posted @ 2007-05-11 18:03 OldHawk 阅读(6416) 评论(1) 推荐(0)
摘要:
工作中用到的,记下来,用于在Unrealircd系统中生成随机数字串: static int getRadPass(char *buf){ int i,j; char mo[10]; srand((int)time(0)); for(i=0;i<8;i++) { j=1+(int)(10.0*rand()/(RAND_MAX+1.0)); ... 阅读全文
posted @ 2007-05-11 17:52 OldHawk 阅读(616) 评论(0) 推荐(0) |
|||