常用编码长度及示例

Name Length Sample
IPv4 32 bit == 4 Byte 192.168.0.101
IPv6 128 bit == 16 Byte 2001:0db8:0000:0023:0008:0800:200c:417a
UUID4 128 bit == 16 Byte 5c215f73-ad99-4e3f-8f08-60a6c9c065d1
MAC addr 48 bit == 6 Byte a7:a1:4b:19:47:6a
MD5 128 bit == 16 Byte c983a72f987c82986bc79e800dbe739a
SHA-1 160 bit == 20 Byte 2fd4e1c67a2d28fced849ee1bb76e7391b93eb12
SHA-256 256 bit == 32 Byte e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

参考列表:

  1. IPv6 地址格式 https://www.ibm.com/docs/zh/i/7.3?topic=concepts-ipv6-address-formats
  2. Mac 地址格式 https://en.wikipedia.org/wiki/HMAC

你可能感兴趣的:(常用编码长度及示例)