info.informatica.security.auth
Class CryptDES

java.lang.Object
  extended by info.informatica.security.auth.CryptScheme
      extended by info.informatica.security.auth.CryptDES

public class CryptDES
extends CryptScheme

This class has not been tested against other DES implementations. If you are using another DES, it may or may not be compatible with it.

Author:
Carlos Amengual (amengual at informatica.info)

Constructor Summary
CryptDES()
          Constructor
 
Method Summary
 String crypt(String pass, String salt)
           
 String getSchemeId()
           
 String getUnixPrefix()
           
static void main(String[] args)
           
 
Methods inherited from class info.informatica.security.auth.CryptScheme
crypt, generateSalt, match
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CryptDES

public CryptDES()
Constructor

Method Detail

main

public static void main(String[] args)

getSchemeId

public String getSchemeId()
Specified by:
getSchemeId in class CryptScheme

getUnixPrefix

public String getUnixPrefix()
Specified by:
getUnixPrefix in class CryptScheme

crypt

public String crypt(String pass,
                    String salt)
Specified by:
crypt in class CryptScheme