encryption time spent calc to file