博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2010年7月5日

摘要: One of the less publicized ability of the Dalvik virtual machine is that it is able to execute "optimized" DEX files (or ODEX files). "Optimizing" a DEX file speeds up its execution but also ties it t... 阅读全文

posted @ 2010-07-05 11:03 NadOo 阅读(413) 评论(0) 推荐(0) 编辑

2009年10月13日

摘要: [代码]输出结果:original unicode:4E2D6587converted to utf8:E2B58EE89DA5converted to unicode:4E2D65870000测试写的代码,不够完善,也没有优化,应该有很多Bug. 阅读全文

posted @ 2009-10-13 13:53 NadOo 阅读(12373) 评论(0) 推荐(2) 编辑

2008年3月14日

摘要: 代码:#include<stdio.h>#include<string.h>#include<sys/ioctl.h>#include<sys/socket.h>#include<netinet/in.h>#include<net/if.h>intmain(intargc,char*argv[]){inti;/**//*get... 阅读全文

posted @ 2008-03-14 15:53 NadOo 阅读(5783) 评论(0) 推荐(0) 编辑

摘要: DES/**//*gcc-odes-basicdes-basic.c-lcrypto*/#include<stdio.h>#include<openssl/des.h>intmain(intargc,char**argv){DES_cblockkey;/**//*DES_random_key(&key);*//**//*generatearandomkey*/DES... 阅读全文

posted @ 2008-03-14 15:48 NadOo 阅读(4005) 评论(1) 推荐(0) 编辑

摘要: 这几天做这方面的东西,网上资料很少,贴一个自己试验写的代码,做个记录。加密:/**//*gcc-orsa-encryptrsa-encrypt.c-lcrypto*/#include<openssl/rsa.h>#include<openssl/err.h>#defineMODULUS"C8FBCF21"#definePUBLIC_EXPONENTRSA_F4#define... 阅读全文

posted @ 2008-03-14 15:42 NadOo 阅读(8236) 评论(5) 推荐(0) 编辑