Encrypt and decrypt with file done