|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.figure8.join.util.UnixCrypt
public class UnixCrypt
Unix Crypt. Implements the one way cryptography used by Unix systems for
simple password protection. This class has been extracted from
Jetty package.
Copyright (c) 1996 Aki Yoshida. All rights reserved.
Permission to use, copy, modify and distribute this software for
non-commercial or commercial purposes and without fee is hereby granted
provided that this copyright notice appears in all copies.
Method Summary | |
---|---|
static java.lang.String |
crypt(java.lang.String key,
java.lang.String setting)
Encrypts String into crypt (Unix) code. |
static void |
main(java.lang.String[] arg)
Convenient method for command line usage. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String crypt(java.lang.String key, java.lang.String setting)
key
- the key to be encryptedsetting
- the salt to be used
public static void main(java.lang.String[] arg)
arg
- Array of arguments (key, value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |