Encrypt file test