Security for passwort

is the only possibility to hide the login data like api and password with a better solution as the obfuscated block.
is there a possibility to use an algorithym or anything else. I saw an extension for sha 256 but you cannot work with api and so with this extension.
I use 3 variables with mathematik to genereate some password. and i use for each the obfuscated block. and the merge all things together to amn passwort bc it is not so easy to find a password if a user decompile the apk.

What is your solution or is there an extension or a other possibility that i dont know.

I think this is an important thread bc we all use maybe a api and other logi data for some third party apps.

if you want to make it a little bit harder for a hacker, then that or something similar is the way to go