org.eclipse.jetty.util.security
类 UnixCrypt

java.lang.Object
  继承者 org.eclipse.jetty.util.security.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.1 2005/10/05 14:09:14 janb Exp $
作者:
Greg Wilkins (gregw)

方法摘要
static String crypt(String key, String setting)
          Encrypts String into crypt (Unix) code.
static void main(String[] arg)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

方法详细信息

crypt

public static String crypt(String key,
                           String setting)
Encrypts String into crypt (Unix) code.

参数:
key - the key to be encrypted
setting - the salt to be used
返回:
the encrypted String

main

public static void main(String[] arg)


Copyright © 2013. All Rights Reserved.