What is actually the two-step verification? So, when you enable the two-step verification in your WhatsApp account, then it asks you a six digit passcode when you're setting your WhatsApp account in some other device.
However, the feature is still under beta development. So, only the users who have enrolled themselves in the WhatsApp android beta program will be able to get this feature. Let's go ahead and see how to setup the two-step verification in WhatsApp.
Step 1: APK Download WhatsApp Beta!
As said earlier, to enable this feature, you need to be enrolled in the WhatsApp beta program. You can easily do that by heading over to Google Play Store. However, if you don't want to enrol in the beta program, you can APK Download the latest WhatsApp beta from mirror hosting such as apkmirror.com.
Step 2: Open Settings of WhatsApp
After installing and registering in WhatsApp, you need to head over to settings and open the account tab. Open WhatsApp>Settings (three dot menu)> Account> Two Step Verification.
Step 3: Setup the Six Digit Passcode
After hitting the two-step verification, you can see that the application now asks for a six digit passcode. Just enter the passcode and your email ID for registering. After that, whenever you registers your WhatsApp account on another device, it will ask for the six digit code.