I'm trying to decrypt Bloomberg data files that I know are DES encrypted.
FileName = 'comdty_option_namr.out.gz.enc'
What is the right order to do things: Open the file and decompress and then decrypt or vice-versa?
I'm trying to decrypt Bloomberg data files that I know are DES encrypted.
FileName = 'comdty_option_namr.out.gz.enc'
What is the right order to do things: Open the file and decompress and then decrypt or vice-versa?
Well, it all depends on the way the file was transformed, and there are two possible ways (in your case is #1):
The extension of the file tells you the order of operations, by reading them from left to right:
comdty_option_namr.out
is the name of the file gzipped
, thus getting to comdty_option_namr.out.gz
gzip
archive to encrypted, resulting the file comdty_option_namr.out.gz.enc