'\" t
.\" Title: eenc
.\" Author: [see the "Author" section]
.\" Generator: DocBook XSL Stylesheets v1.76.1
.\" Date: 2005-10-16
.\" Manual: RefDB Manual
.\" Source: RefDB Manual
.\" Language: English
.\"
.TH "EENC" "1" "2005\-10\-16" "RefDB Manual" "RefDB Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
eenc \- perform password encryption for RefDB clients
.SH "SYNOPSIS"
.HP \w'\fBeenc\fR\ 'u
\fBeenc\fR [\-p\ \fIABC\-DE\-FG\-HI\fR] \fIpassword\fR
.SH "DESCRIPTION"
.PP
RefDB(7) clients send passwords to refdbd(1) in an encrypted form\&. Programmers that implement custom clients in languages other than C or Perl may use this program to perform the password encryption if implementing the algorithm in the target language is too cumbersome\&. The program writes the encoded password to stdout\&. As the encoding algorithm is symmetrical, you can use this utility to encode plain text passwords as well as to decode encrypted passwords\&.
.PP
The algorithm used by eenc is derived from the ENIGMA algorithm\&. Security is limited but should be sufficient for the purposes of a reference management software\&. Please see the RefDB manual (see below) for further information about the client\-server protocol\&.
.SH "OPTIONS"
.PP
\fB\-p\fR \fIABC\-DE\-FG\-HI\fR
.RS 4
The slot and rotor position string sent back by refdbd(1) during the first stage of the client\-server protocol\&. ABC denotes which wheel goes into which slot, and the remaining digits encode the positions of the wheels in slots 0 through 2\&.
.RE
.PP
\fIpassword\fR
.RS 4
The plain\-text password when encrypting, or the encoded password when decrypting\&.
.RE
.SH "SEE ALSO"
.PP
\fBRefDB\fR
(7),
\fBrefdbd\fR
(1)\&.
.PP
\fIRefDB manual (local copy) \fR
PREFIX/share/doc/refdb\-/refdb\-manual/index\&.html
.PP
\fIRefDB manual (web) \fR
<\m[blue]\fBhttp://refdb\&.sourceforge\&.net/manual/index\&.html\fR\m[]>
.PP
\fIRefDB on the web \fR
<\m[blue]\fBhttp://refdb\&.sourceforge\&.net/\fR\m[]>
.SH "AUTHOR"
.PP
eenc was written by Markus Hoenicka \&.