com.groiss.util
Class Jcrypt

java.lang.Object
  extended by com.groiss.util.Jcrypt

public class Jcrypt
extends Object

Java implementation of the unix crypt command.


Method Summary
static String crypt(String salt, String original)
          Crypt the argument string using the given salt.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

crypt

public static final String crypt(String salt,
                                 String original)
Crypt the argument string using the given salt.

Parameters:
salt - a two character string.
original - the string to crypt
Returns:
the crypted string


@enterprise 8.0.10809 Copyright © 2001-2012 Groiss Informatics GmbH. All Rights Reserved.