#include #include #include #include #include using namespace std; using namespace hgl; using namespace hgl::util; int os_main(int argc,os_char **argv) { if(argc<2) { cout<<"CountHash [filename]"<GetHashBytes(); hash_code=new char[hash_length]; start_time=GetDoubleTime(); h->Init(); h->Update(file_data,file_length); h->Final(hash_code); end_time=GetDoubleTime(); ToLowerHexStr(hash_str,hash_code,hash_length); hash_str[hash_length*2]=0; h->GetName(hash_name); cout<