第二个引数会描述数字用以表示的基底,十六进位的基底为16。
The second argument describes what base the number is expressed in; hexadecimal is base 16.
位散列结果被表示为32个十六进位数字组成的字符串。
The 128-bit hash result is represented as a string of 32 hex digits.
十六进位中的A是十进位中的10,所以在二进位中是1010。
A in hexadecimal is 10 in decimal and therefore is 1010 in binary.
应用推荐