Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Alternative URL encryption method-IP address binary conversion

2025-01-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

I'm looking at the subnet mask calculator today. My math has always been a hard wound, and my brain is not very flexible.

But it turns out. IP decimal calculation. I didn't understand it at that time. What the heck is decimal calculation.

Take Baidu as an example. (because the address resolved after the domain name ping of our 51cto cannot be accessed directly. Awkward)

Whether it's www.baidu.com,

Or 61.135.169.121?

The result after the interview is the same.

But there is another way to visit.

Whether it's http://1032300921,

Or 1032300921?

The result is the same.

So here comes the question. How did this number come from?

The calculation process is as follows.

Divide dots into decimal

61.135.169.121

Convert to a decimal number

612562562561352562561692561211032300921

1023410176 + 8847360 + 43264 + 121 + 1032300921

Knowledge point: another representation of IP addresses converts 32-bit binary IP addresses into decimal integers

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report