ariba.util.core
Class Crypt
java.lang.Object
ariba.util.core.Crypt
public class Crypt
- extends Object
Crypt
|
Constructor Summary |
Crypt()
|
Crypt
public Crypt()
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.