com.mindtree.techworks.insight.preferences.util
Class Crypt

java.lang.Object
  extended by com.mindtree.techworks.insight.preferences.util.Crypt

public class Crypt
extends java.lang.Object

The Crypt class helps in encrypting/decrypting a string and converts the resultant string as a hex string.

Author:
m1003308

Constructor Summary
Crypt()
           
 
Method Summary
static java.lang.String decryptHexString(java.lang.String text)
          Decrypts the given hex representation of the array of bytes to a String
static java.lang.String encryptHexString(java.lang.String text)
          Encrypts the given String to a hex representation of the array of bytes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Crypt

public Crypt()
Method Detail

encryptHexString

public static java.lang.String encryptHexString(java.lang.String text)
Encrypts the given String to a hex representation of the array of bytes


decryptHexString

public static java.lang.String decryptHexString(java.lang.String text)
Decrypts the given hex representation of the array of bytes to a String



Copyright © 2003-2008 MindTree Consulting Ltd.. All Rights Reserved.