com.rapidminer.tools.cipher
Class CipherTools

java.lang.Object
  extended by com.rapidminer.tools.cipher.CipherTools

public class CipherTools
extends java.lang.Object

This class can be used to encrypt and decrypt given strings based on a key generated by the user. Please note that classes using this tool class should first ensure that a user key is available by invoking the method isKeyAvailable().

Author:
Ingo Mierswa

Constructor Summary
CipherTools()
           
 
Method Summary
static java.lang.String decrypt(java.lang.String text)
           
static java.lang.String encrypt(java.lang.String text)
           
static boolean isKeyAvailable()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CipherTools

public CipherTools()
Method Detail

isKeyAvailable

public static boolean isKeyAvailable()

encrypt

public static java.lang.String encrypt(java.lang.String text)
                                throws CipherException
Throws:
CipherException

decrypt

public static java.lang.String decrypt(java.lang.String text)
                                throws CipherException
Throws:
CipherException


Copyright © 2001-2009 by Rapid-I