info.informatica.security.auth
Class CryptMD5Variant

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

public class CryptMD5Variant
extends CryptScheme

This class implements a variant of the usual MD5 cryptographic hash, and is NOT compatible with the MD5 hashes around.

Author:
Carlos Amengual (amengual at informatica.info)

Constructor Summary
CryptMD5Variant()
          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

CryptMD5Variant

public CryptMD5Variant()
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