main file for encyptor