ariba.util.core
Class Crypt

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

public class Crypt
extends java.lang.Object

Crypt


Constructor Summary
Crypt()
           
 
Method Summary
static java.lang.String crypt(java.lang.String salt, java.lang.String original)
          Performs a one-way encryption using this class's algorithm.
static void main(java.lang.String[] args)
           
static void usage(java.io.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 java.lang.String crypt(java.lang.String salt,
                                           java.lang.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(java.lang.String[] args)

usage

public static void usage(java.io.PrintWriter err)


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