Simple Cipher Encryption Program


 crypt [encryption-method] 
Enrypt stdin with one of several methods. Encrypted output is printed to stdout, additional information to stderr.

The output of crypt consists only of lowercase letters, spaces, and newlines. It is suitable as input for vcb and scb .

Enryption Methods

-v vigenere-key
Stdin is encrypted using the vigenere key provided and then printed to stdout. The scheme below lists number of shifts that is associated with each letter. The key and the inverse key are printed to stderr.
-s random-seed
Initializes the seed of the random number generator and then creates a random permutation of space and the 26 lower case letters. stdin is then encrypted using this permutation and printed to stdout. The permutation and its inverse are printed to stderr. The permutations are encoded using the scheme below.
No encryption just filtering. Letters are converted to lowercase, newlines are left unchanged, everything else is converted to space.
Print help message.

Encoding Scheme

space a b c d e f g h i  j  k  l  m  n  o  p  q  r  s  t  u  v  w  x  y  z
0     1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26

Last Update: 15.04.96 (Format: DD.MM.YY)