Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to obscure hard coded password in code?

I would like to obscure a password in my VB6 code, such that it cannot be revealed even via decompilation.

Is this possible?

like image 931
CJ7 Avatar asked Nov 22 '25 11:11

CJ7


1 Answers

If you program has access to it in plaintext, then it's possible to somehow retrieve it. You are better off getting your security in other ways. How to do this really depends on your specific application. Do you have to store the password in your application? Can you simply store a pre-computed hash and compare against that?

like image 95
Oleksi Avatar answered Nov 24 '25 23:11

Oleksi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!