Encrypts a text or file using different algorithms.