.TH "bfhash" "1" "Sat, 11 Jul 2009" "Fr. Br. George" "ALT Linux" .SH "NAME" .LP bfhash \- generate Blowfish hash suitable for TCB/shadow usage .SH "SYNTAX" .LP \fBbfhash\fR [{\fIpassword\fR|\-} [{\fIsalt\fR|\fIsalt depth\fR}]] .SH "DESCRIPTION" .LP \fBBFHash\fR generates a Blowfish hash suitable for using in Blowfish\-oriented authentication token storage like linux \fBshadow\fR or \fBTCB\fR password storages. .LP When used whtout any parameter or in \fIbfhash \-\fR form, reads string to be hashed from \fIstdin\fR, the first parameter is hashed otherwise. .LP One can specify certain \fIsalt\fR or \fIsalt depth\fR (number of iterations) used in hashing. Default is to gernerate salt randomly with the depth of \fB8\fR. .LP This small program is just a shell wrapper over Damien Miller's \fBpy\-bcrypt\fR python module. It was written because of lack for command\-line Blowfish hashing utility. .SH "EXAMPLES" .LP To create TCB\-compatible password hash just type .IP \fBbfhash \fIPassword\fR .SH "AUTHORS" .LP George V. Kouryachy (Fr. Br. George