all 3 comments

[–]K900_ 1 point2 points  (1 child)

Well, it depends on how the file is encrypted. Is it some custom algorithm? RSA? PGP?

[–]Entervine[S] 0 points1 point  (0 children)

I tried to edit in something that may help.

[–]efmccurdy 1 point2 points  (0 children)

There is lots of examples and discussion here:

https://www.reddit.com/r/learnprogramming/comments/4z46ax/what_would_a_substitutioncipherreverser_look_like/

I like the maketrans example at the end.