com.groiss.util
Class Jcrypt

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

public class Jcrypt
extends java.lang.Object

Java implementation of the unix crypt command.


Method Summary
static java.lang.String crypt(java.lang.String salt, java.lang.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 java.lang.String crypt(java.lang.String salt,
                                           java.lang.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.22989 Copyright © 2001-2017 Groiss Informatics GmbH. All Rights Reserved.