VPN allows not only to gain access to inaccessible resources but also to provide an encrypted communication channel. In the second case, it is essential to use the safest and fastest technology. The best option is WireGuard. This article will tell you why it is better than other protocols and why its appearance in the core of Android 12 is an important event.
What is WireGuard
WireGuard is a VPN protocol that was born a few years ago. In 2020, the technology was introduced into the Linux kernel with the number 5.6. Since it is already supported in the Linux kernel, it will soon appear in the Android OS – kernels with support have already been developed. WireGuard is safer, faster, and easier than other VPNs.
The advantages of this protocol
WireGuard stands out from the competition in several ways. First of all, it has a more compact and readable source code. The popular OpenVPN has hundreds of thousands of lines, WireGuard has about four thousand. What does it do? Any VPN vulnerabilities are easy to spot and fix. Thanks to this and clear documentation, it is easier for developers to study the principle of operation and implement the protocol into their own developments.
WireGuard uses the fastest and most advanced cryptographic algorithms recognized by experts: Curve25519, ChaCha20, Poly1305, BLAKE2, SipHash24, HKDF. Such a narrow set reduces the flexibility of encryption but increases reliability. The protocol has been designed with a lower complexity in mind, making it resistant to attacks.
For the average user, it is not important how the VPN works “under the hood” but how it works. With such high-quality encryption, WireGuard is faster than analogs, and the ping is lower. This can be seen from both official testing and independent benchmarks. The greatest difference between the protocols is visible on Linux since their WireGuard is integrated into the kernel, respectively, and all routing is carried out at this level. The high performance of the protocol can be a decisive argument in favor of WireGuard.
The most useful feature of WireGuard for users is its ease of setup. You can deploy your own VPN using a few commands while competing solutions will take much longer.
WireGuard Coming to Android 12 Kernel: What It Will Change
WireGuard protocol support is already included in the android-4.19-stable kernel branch. Android 12 release will be based on the android-4.19-stable, android11-5.4, android12-5.4, android12-5.10 kernels. Of course, maintaining the technology in the kernel is only part of the implementation process. Google will have to develop an API to work with the new kernel module, and it is not yet known whether the company will have time to do this by the OS release.
This move will allow you to achieve maximum throughput and minimum latency, coupled with increased security. In addition, the application can be abandoned since the VPN will be able to work natively. The implementation of the protocol in Android will contribute to the widespread adoption of WireGuard.