This repo shows how to encrypt files prior to uploading them to IPFS. Similarly it can decrypt and download these files. The solution uses both RSA and AES encryption algorithms to achieve maximum security.
Why do you think that https://github.com/filippofinke/paste is a good alternative to ipfs-file-encryption