A TLS 1.3 stack written in Visual Basic 6
1–10 of 101 posts
Re: A TLS 1.3 stack written in Visual Basic 6
#2Re: A TLS 1.3 stack written in Visual Basic 6
#3Do notice Option Explicit. That is like disabling 90% of the magic that causes unmaintainable code.
Re: A TLS 1.3 stack written in Visual Basic 6
#4Re: A TLS 1.3 stack written in Visual Basic 6
#5It's less than 8kLoC, including what seems to be a bunch of tests at the end, although much of the actual crypto appears to be done using the native advapi32/crypt32/ncrypt libraries. (For those used to OpenSSL, I suppose this could be compared to the libssl part of it.)
I once worked with a guy who was a VB savant. He had reverse-engineered the DOC and PST formats in Visual Basic and was comfortable bit-bashing stuff in that environment. His higher-level code was really not good, that wasn't important to him, so he pasted stuff everywhere. Lost track, but hope he found his niche.
Re: A TLS 1.3 stack written in Visual Basic 6
#6Re: A TLS 1.3 stack written in Visual Basic 6
#7Re: A TLS 1.3 stack written in Visual Basic 6
#8Hey, VB6 is ~~free real-estate~~ Turing complete, although maybe just barely.
If a quine transpiler between JS and PHP and VB6 existed, all things have happened, AI has won, and we can go back to typewriters and candles.
Re: A TLS 1.3 stack written in Visual Basic 6
#9It's less than 8kLoC, including what seems to be a bunch of tests at the end, although much of the actual crypto appears to be done using the native advapi32/crypt32/ncrypt libraries. (For those used to OpenSSL, I suppose this could be compared to the libssl part of it.)
Yep, one of the features of VB was you could call into Win32 fairly easily. I once worked with a guy who was a VB savant. He had reverse-engineered the DOC and PST formats in Visual Basic and was comfortable bit-bashing stuff in that environment. His higher-level code was really not good, that wasn't important to him, so he pasted stuff everywhere. Lost track, but hope he found his niche.
https://files.johno.uk/habbo/h4bbo.net/archive/HabboStuff/Mo...
Re: A TLS 1.3 stack written in Visual Basic 6
#10It's less than 8kLoC, including what seems to be a bunch of tests at the end, although much of the actual crypto appears to be done using the native advapi32/crypt32/ncrypt libraries. (For those used to OpenSSL, I suppose this could be compared to the libssl part of it.)