Encrypting Files With AES-256 In PHP
This post is part of a series about symmetric encryption with AES-256 in PHP.
Now that we covered how to encrypt text in PHP, you might want to also be able to encrypt files. Luckily, most of the logic to do that already exists in the class we created, so implementing this feature is relatively easy.