Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
IntToHexStr.java
README.md

README.md

IntToHexStr:

博文地址:Android MD5后 bye数组转化为Hex字符串的坑

概述:一个byte是8位,而16进制是4位,所以要把一个bye转化为hex的时候,其高四位和低四位分别转化为为2个16进制字符。当高四位为0时,转化完要用‘0’补齐