Are there any built in command-line tools that I can encrypt and decrypt a text file (and provide it some sort of password).
feedback
|
|
You can use the following commands:
(copied from OpenSSL Command-Line HOWTO: How do I simply encrypt a file?) These commands use 256-bit AES ecryption with Cipher Block Chaining (CBC), which is about as secure as it gets right now. | |||||
feedback
|
|
Mac OS X has the ability to create encrypted container files (similar to e.g. Truecrypt), that can optionally grow with the amount of data placed in them. Use Disk Utility to do this. In Disk Utility, select File » New » Blank Disk Image… with one of the sparse image formats. Select AES-128 or AES-256 as encryption. From the command line, the same functionality is available via the | |||
|
feedback
|
|
I've built a shell script for that. You can use it on Mac or on Linux.
Simply save this in a text file in issue chmod +x file to make it executable. after that use ./filename --help to get infos. | |||
|
feedback
|