generalized crypto transform, added file symmetric encryption