crypt man page on Inferno

Man page or keyword search:  
man Server   579 pages
apropos Keyword Search (all sections)
Output format
Inferno logo
[printable version]

CRYPT(1)							      CRYPT(1)

NAME
       crypt, aescbc - data encryption

SYNOPSIS
       crypt [ -d ] [ -a alg[/alg] ] [ -f keyfile ] [ -k key ] [ -?  ]

       auth/aescbc [ -d ] [ -e ] [ -f keyfile ] [ -k key ]

DESCRIPTION
       Crypt  reads  a	data  stream  from  its	 standard  input and writes it
       encrypted to standard output, preceded by a header that	gives  details
       of  the	algorithm used.	 If the -d option is given, crypt decrypts the
       standard input instead, writing the clear text on standard output.  The
       options are:

       -a alg...
	      Specifies	 one or two algorithms, for encryption and/or digests.
	      The algorithms are those supported by ssl(3).  If two algorithms
	      are  given,  they	 should	 be separated by a slash (/) or space,
	      following the conventions of ssl(3).

       -f keyfile
	      Read the encryption key from the	given  file,  which  obviously
	      should be carefully protected.  Trailing newlines are ignored.

       -k key Use key as the encryption key.

       -?     Print a list of the available encryption and digest algorithms.

       If  the	secret	key is not otherwise supplied, crypt prompts for it on
       /dev/cons.  There is  no	 need  to  give	 algorithms  when  decrypting,
       because	they  are  taken  from	the  header.  The default algorithm is
       md5/ideacbc.  It might be necessary to change that when using crypt for
       commercial purposes, as noted in keyring-crypt(2).

       Aescbc  encrypts	 and  decrypts	using  AES  (Rijndael) in cypher block
       chaining (CBC) mode.  It uses input and output formats compatible  with
       Plan  9's  aescbc  command; it also accepts input in the format used by
       keyfs(4) and Plan 9's secstore.	The -e option causes  it  to  encrypt;
       the -d option to decrypt.  The other options are just as for crypt.

SOURCE
       /appl/cmd/crypt.b
       /appl/cmd/auth/aescbc.b

SEE ALSO
       ssl(3), keyfs(4)

								      CRYPT(1)
[top]

List of man pages available for Inferno

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net