Encrypt files

Welcome to the Encrypt files guide. This guide will teach you how to easily encrypt your files uploaded to the server for additional file protection.


In the iLoveAPI, all files are always transmitted encrypted via SSL. However, for any developers who need an additional layer of security, iLoveAPI offers properties to store the files always encrypted in our servers. This way, files will pass through the server encrypted at all times except for when they are being processed.

Setting file encryption

Encrypting files is easy and can be set with the property file_encryption_key:

Setting file encryption with your own key

It is important to note that the file encryption key must be a string of 16, 24, or 32 characters. Any string out of these values will result in an error.