ariba.util.core
Class Crypto
java.lang.Object
ariba.util.core.Crypto
- All Implemented Interfaces:
- CryptoInterface
public class Crypto
- extends Object
- implements CryptoInterface
Disclaimer. This is not production security! This is a weak
attempt to thwart direct or accidental packet sniffing from
obtaining cleartext passwords. Of course real encryption is the
solution but at this moment is not achievable due to schedule
constraints.
Crypto
public Crypto(Object key)
Crypto
public Crypto(Object key,
boolean enabled)
encrypt
public Object encrypt(Object target)
- Specified by:
encrypt in interface CryptoInterface
encrypt
public char encrypt(char ch)
encrypt
public String encrypt(String string)
- Specified by:
encrypt in interface CryptoInterface
reverse
public static char[] reverse(char[] charBuffer,
int charBufferLength)
encrypt
public Map encrypt(Map map)
- Specified by:
encrypt in interface CryptoInterface
encrypt
public List encrypt(List vector)
- Specified by:
encrypt in interface CryptoInterface
decrypt
public Object decrypt(Object target)
- Specified by:
decrypt in interface CryptoInterface
decrypt
public char decrypt(char ch)
decrypt
public String decrypt(String string)
- Specified by:
decrypt in interface CryptoInterface
decrypt
public Map decrypt(Map map)
- Specified by:
decrypt in interface CryptoInterface
decrypt
public List decrypt(List vector)
- Specified by:
decrypt in interface CryptoInterface
AribaWeb User Interface Development Framework
Copyright © 2000-2009 Ariba, Inc. All Rights Reserved.