M
M
mrxakerrus2019-03-11 13:36:23
Programming
mrxakerrus, 2019-03-11 13:36:23

Why can't I hide the key in tiny-AES?

there is a tiny-AES library, with which I specify the key in the uint_8_t array, as in the example, it all works fine, but the question remains, if the binary is passed through strings, then the password is simply not encrypted there, how can this be fixed?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
res2001, 2019-03-11
@res2001

1.Sew the encrypted password into the binary and decrypt it programmatically using any algorithm you like.
2. Calculate the password on the fly in any way you can think of.
3. Ask the user for a password from the standard login - this would be the most suitable option - let the user think for himself how to protect the password from prying eyes.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question