Obfuscate string / program in Go

How to go about obfuscating strings in go? I have a binary file containing the api key and api secret, running strings <binary> allows me to see the api key / secret.

I see this as a security issue, as this will make the database username / password, etc., also readable.

Please give some idea about this and / or a way to obfuscate strings / binaries. I know this could be reverse engineering, I'm just looking for a way to harden.

+5
source share

Source: https://habr.com/ru/post/1208843/


All Articles