org.mortbay.util
public class UnixCrypt extends Object
Version: $Id: UnixCrypt.java,v 1.5 2004/10/11 00:28:41 gregwilkins Exp $
Method Summary | |
---|---|
static String | crypt(String key, String setting)
Encrypts String into crypt (Unix) code. |
static void | main(String[] arg) |
Parameters: key the key to be encrypted setting the salt to be used
Returns: the encrypted String