Best way to convert unsigned char * to int ?

Hello I have an `unsigned char *` that looks (after printf) like this (it's a SHA-1 hash): n\374\363\327=\3103\231\361P'o]Db\251\360\316\203 I need to convert this `unsigned char *` to an `unsigned int`, what do you think it would be the best way to do it ? I have some ideas, but I'm not a C expert so wanted to see someone else ideas before trying my own stuff.

以上就是Best way to convert unsigned char * to int ?的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » CSS3 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏