com.pcube.apps.engage.common
Class CipherUtil
java.lang.Object
com.pcube.apps.engage.common.CipherUtil
public class CipherUtil
- extends Object
- Author:
- uzir
getInstance
public static CipherUtil getInstance()
encrypt
public String encrypt(String str)
- Takes a single String as an argument and returns an Encrypted version
of that String.
- Parameters:
str - String to be encrypted
- Returns:
String Encrypted version of the provided String
decrypt
public String decrypt(String str)
- Takes a encrypted String as an argument, decrypts and returns the
decrypted String.
- Parameters:
str - Encrypted String to be decrypted
- Returns:
String Decrypted version of the provided String
createErrorMessage
public String createErrorMessage(String operation,
String str,
byte[] dec,
Exception e)
Copyright © 2011 Cisco Systems, Inc. Confidential.