0

I had encrypted a file on my computer but the computer got infected by a virus, so I reinstalled Windows on my computer. All my key-files have gone.

Is there a way to recreate the lost key-files, as I know what the password was? Can I decrypt my encrypted files once again?

closed as too broad by Xander, Steffen Ullrich, M'vy, AndrolGenhald, ThoriumBR Jun 26 '18 at 16:06

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 3
    How was your file encrypted? Using what method? – mentallurg Jun 25 '18 at 22:24
2

You should describe problems in detail. For example, what algorithm was used to encrypt the file.

If you encrypted the file with a key-file using a strong encryption algorithm you won't be able to decrypt the file without this key-file. The password for the key-file won't help you if you don't have the file. This is a kind of two-factor authentication.

You can not regenerate the key-files. They are generated with random numbers. It is good that you cant regenerate them. If you would be able to do this an attacker could be able to.

The only way you can get back your files is trying to restore the key-files. If you are lucky you are able to restore them from your hard drive.

Your lesson learned should be to back up your keys.

Not the answer you're looking for? Browse other questions tagged or ask your own question.