M
M
mindgrow2021-03-06 15:45:20
Encryption
mindgrow, 2021-03-06 15:45:20

How to hide the private key in the application?

Suppose in an application in the code, the RSA private key is set as a text constant, which is used to encrypt the settings of this application.
It is good if the private key is constant so that the saved settings can always be decrypted.

How can I hide the given private key so that it cannot be found through the disassembler?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SagePtr, 2021-03-06
@mindgrow

The private key from the application code can always be pulled out, the only question is how much the attacker will get confused by this.
If you really need to encrypt application settings, I would consider having a master password and prompting the user for it when the application starts.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question