|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectutil.gen.MD5Crypt
This class defines a method,
crypt()
, which
takes a password and a salt string and generates an OpenBSD/FreeBSD/Linux-compatible
md5-encoded password entry.
Created: 3 November 1999
Release: $Name: $
Version: $Revision: 1.1 $
Last Mod Date: $Date: 2004/02/04 08:10:35 $
Java Code By: Jonathan Abbey, jonabbey@arlut.utexas.edu
Original C Version:
---------------------------------------------------------------------------- "THE BEER-WARE LICENSE" (Revision 42):Modified by Nix April 2005, just call MD5Crypt.crypt("password","salt"); returns crypted password, not magic or salt stuff.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 ----------------------------------------------------------------------------
Constructor Summary | |
MD5Crypt()
|
Method Summary | |
static java.lang.String |
crypt(java.lang.String password,
java.lang.String salt)
|
static void |
main(java.lang.String[] argv)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MD5Crypt()
Method Detail |
public static void main(java.lang.String[] argv)
public static final java.lang.String crypt(java.lang.String password, java.lang.String salt)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |