Notice that the example encodes the key in hexadecimal before writing it to disk. Here is an Answer that explains how to save an AES key to a file and restore it. Then when you want to decrypt the file you restore the key that you used to encrypt the file and use it to decrypt. My question is: How can I decrypt a string if I encrypt it with a random key? Can you show me some way? I am not native english speaker, sorry for my bad english. So how can I do it? And user's master password will be 32 or 64 digit and I don't think we need to generate a random key. When user wants to see his passwords he will input his master key to decrypt the encrypted passwords. And other password will be stored in the app with encrypted version. Second one is the passwords that we want to manage. App has two passwords, first one is the master password that we use for encryption string data. If I know something wrong, please correct me and teach me the truth.ĭetails: I am trying to make a password manager app. My question is: How can I decrypt a string if I encrypt it with a random key? Also I tried almost every code in web, but none of them worked, so can you provide a AES-256 encryption code with no salt and IV. But when I look a tutorial of it, It always generates a random key. ![]() Also I want to use AES-256 for encryption. I am trying to develop an android app in java which needs encryption.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |