摘要: BREW 普通MD5字符串编码实现,使用BREW的IHASH API.输入要编码的字符串,可在输出窗口看到编码后的32位字符串。void verify_md5(byte *input){ IHash* po = NULL; byte pResult[16]; int i = 0, ret = 0; int len = 16; char tmpstr[33], *p = tmpstr; if (AEE_SUCCESS == ISHELL_CreateInstance(APP_SHELL, AEECLSID_MD5, (void**)&po)){ DBGPRINTF("----- 阅读全文
posted @ 2008-07-11 17:00 MXi4oyu 阅读(138) 评论(0) 推荐(0) 编辑