Skip to content
Advertisement

File Encryption/Decryption with AES using Linux

I’m using the OpenWrt Linux distribution and I want to encrypt a file using AES.

How can I do that quickly and easily, and how can I—or someone else—decrypt it again?

Advertisement

Answer

The quickest and easiest way is to use openssl util (provided by openssl-util package). For example, to encrypt a file, issue the following command:

JavaScript

To decrypt:

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement