Created: 3 November 1999
Release:
Version:
Last Mod Date:
Java Code By: Jonathan Abbey, jonabbey@arlut.utexas.edu
Original C Version:
---------------------------------------------------------------------------- "THE BEER-WARE LICENSE" (Revision 42): <phk@login.dknet.dk> wrote this file. As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp ----------------------------------------------------------------------------
Static Public Member Functions | |
| static void | main (String argv[]) |
| Command line test rig. | |
| static final String | crypt (String password) |
| static final String | crypt (String password, String salt) |
|
||||||||||||
|
This method actually generates a OpenBSD/FreeBSD/Linux PAM compatible md5-encoded password hash from a plaintext password and a salt. The resulting string will be in the form '$1$<salt>$<hashed mess>
|
|
|
This method actually generates a OpenBSD/FreeBSD/Linux PAM compatible md5-encoded password hash from a plaintext password and a salt. The resulting string will be in the form '$1$<salt>$<hashed mess>
|
|
|
Command line test rig.
|
1.4.5