org.mortbay.util
Class UnixCrypt
Object
org.mortbay.util.UnixCrypt
public class UnixCrypt
extends Object
Unix Crypt.
Implements the one way cryptography used by Unix systems for
simple password protection.
$Id: UnixCrypt.java,v 1.5 2004/10/11 00:28:41 gregwilkins Exp $static String | crypt(String key, String setting) - Encrypts String into crypt (Unix) code.
|
static void | main(String[] arg)
|
crypt
public static String crypt(String key,
String setting)
Encrypts String into crypt (Unix) code.
key
- the key to be encryptedsetting
- the salt to be used
main
public static void main(String[] arg)
Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.