I wrote a simple piece of code that encrypts (and decrypts upon a key given) most of the files on a windows computer. I was wondering what the most secure way I could facilitate a trade of bitcoin to decryption key for a ransomware situation. I don't think I'll ever use it but was curious how real ransomware hackers do that final step.
Also, the key is just sitting there in the code (but kind of hidden because I obfuscate when its turned into an executable) so is there anyway to encrypt files on someone's computer without that computer being able to access the encryption key?
Also, the key is just sitting there in the code (but kind of hidden because I obfuscate when its turned into an executable) so is there anyway to encrypt files on someone's computer without that computer being able to access the encryption key?


