add two cryption function, for text and file