Manual Reference Pages - CRYPT (1)
- very simple file encryption
utility, also known as
simple encryption program, working on a
It operates as a filter, i.e.,
it encrypts or decrypts a
stream of data from standard input, and writes the result to standard
Since its operation is fully symmetrical, feeding the encrypted data
stream again through the engine (using the same secret key) will
There are several ways to provide the secret key to the program.
default, the program prompts the user on the controlling terminal for
the key, using
This is the only safe way of providing it.
Alternatively, the key can be provided as the sole command-line
when starting the program.
Obviously, this way the key can easily be
spotted by other users running
As yet another alternative,
can be given the option
and it will take the key from the environment variable
While this at a first glance seems to be more secure than the previous
option, it actually is not since environment variables can also be
Thus this option is mainly provided for compatibility with other
When specifying the option
modifies the encryption engine in a way that is supposed to make it a
little more secure, but incompatible with other implementations.
The cryptographic value of
is rather small.
This program is only provided here for compatibility
with other operating systems that also provide an implementation
For real encryption, refer to
However, restrictions for exporting,
importing or using such tools might exist in some countries, so those
stronger programs are not being shipped as part of the operating
system by default.
used to obtain the secret key when option
has been given
man enigma | enigma > encrypted
Enter key: (XXX key not echoed)
This will create an encrypted form of this man page, and store it in
enigma XXX < encrypted
This displays the previously created file on the terminal.
are very common among
This implementation has been taken from the
which is in the public domain.
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.