Removed useless for in encryption