If you want to break a software’s security pass in early 1980’s, you need to code in BASIC like in the series Deutchland 83
Stranger Things 2 is in 1984 as well so once again we are dealing with some BASIC code.
As you can clearly see there are nested 4 loops to find 4 digit numbers of the password but interesting part is that there is a misterious function called
checkPasswordMatch which gets an integer as a parameter and returns a boolean result. Actually the important part is in that function, the rest that we see on the screen just tries some brute-force attack.
I am glad to see Sam from LOTR hacking some computer.