ariba.util.core
Class Crypt

java.lang.Object
  extended by ariba.util.core.Crypt

public class Crypt
extends Object

Crypt


Constructor Summary
Crypt()
           
 
Method Summary
static String crypt(String salt, String original)
          Performs a one-way encryption using this class's algorithm.
static void main(String[] args)
           
static void usage(PrintWriter err)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Crypt

public Crypt()
Method Detail

crypt

public static final String crypt(String salt,
                                 String original)
Performs a one-way encryption using this class's algorithm.

Parameters:
salt - the salt to use. The salt must be a String of 2 chars, and in the range "[a-z][A-Z][0-9]./".
original - the string to be encrypted.
Returns:
the encrypted String, or null if the salt is invalid.

main

public static void main(String[] args)

usage

public static void usage(PrintWriter err)


AribaWeb User Interface Development Framework
Copyright © 2000-2009 Ariba, Inc. All Rights Reserved.