Manual Reference Pages - AESCRYPT (1)
- encrypt data using Rijndael, the Advanced Encryption Standard winner
utility encrypts data using the Rijndael algorithm, the winner of
the Advanced Encryption Standard (AES) competition.
The encryption is done in Cipher Block Feedback (CFB-128) mode, with
the salt randomly generated from data read from the
The plaintext data is read from standard input and the encrypted data
is written to standard output.
The encryption key may be read from standard input or from a file,
depending on the argument passed to the
is used as a filename, the
utility reads as many hexadecimal digits as needed from standard input
and then one additional byte to allow for a newline separating the key
from the actual data to be encrypted.
If the filename is not
utility opens the specified file and reads text lines from it until
a line starting with the characters
Those characters should be immediately followed by as many hexadecimal
digits as needed; the rest of the line, as well as the rest of the file,
The encryption key may be 128, 192, or 256 bits long.
By default, the
utility uses (and expects to read) a 128-bit key, unless a different size
is supplied by the
utility reads 16 bytes (128 bits) from the
device to initialize the salt for the CFB-128 encryption.
The salt is prepended to the encrypted data in the output.
Generate a random 128-bit value and store it into a keyfile suitable for the
perl -e open(F, <, /dev/random) or die( $!\n ); read(F, $s, 32); print kk= .unpack( H*, $s). \n
Encrypt the contents of the
file with the generated (128-bit by default) key:
aescrypt -k key.txt < /etc/hosts > hosts.aes
Encrypt a string with a 192-bit key supplied directly:
(echo 012345678901234567890123456789012345678901234567; echo This is a test.) | ./aescrypt -s 192 -k - > test.aes
The SourceForge project page: http://sourceforge.net/projects/aescrypt/
utility was written by
.An Eric Lee Green ,
and was modified to use Rijndael rather than Twofish by
.An Randy Kaelber .
It uses the freely available Rijndael implementation by
.An Antoon Bosselaers
.An Vincent Rijmen .
This manual page was written by
.An Peter Pentchev
.An Eric Lee Green
.An Randy Kaelber
The manual page -
.An Peter Pentchev
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.