java.lang.Objectrcs.utils.jcrypt
public class jcrypt
This class provides a Java-based implementation of the unix crypt command. I downloaded this file from http://www.zeh.com/local/jfd/crypt.htm on March, 25 1997, and used it in rcs.nml.NMLConnection.login().
| Method Summary | |
|---|---|
static java.lang.String |
crypt(java.lang.String original,
java.lang.String salt)
Encrypts a passwd. |
static void |
main(java.lang.String[] args)
Main function called when the class is run as a standalone program. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static final java.lang.String crypt(java.lang.String original,
java.lang.String salt)
original - Password or key before encryption.salt - 2 letter string used during encryption and returned at the beggining of the resulting encrypted string.
public static void main(java.lang.String[] args)