I have a program that is encrypted with Blowfish in a file and a second perl program that prompts for a passphrase that is used to decrypt it into a string, I would like to not have to write the decrypted source to the hard drive ever, although having it in memory isn’t really a problem as those running the program already know the source. I thought I might use eval but the program I need to run has a lot of input/output using Curses and stuff so eval wont work as it only returns the last value… Does anyone have any idea how this could be accomplished?
Share
You can use an
@INChook to perform the decryption. Then you can simplyrequireorusethe encrypted program. For example,