org.eclipse.birt.report.model.api.extension
Interface IEncryptionHelper


public interface IEncryptionHelper

Defines the interface of encryption helper, which includes two methods for encryption and decryption.


Method Summary
 java.lang.String decrypt(java.lang.String string)
          Decrypts the given encrypted string, and returns the original string.
 java.lang.String encrypt(java.lang.String string)
          Encrypts the given string, and returns the encrypted string.
 

Method Detail

encrypt

java.lang.String encrypt(java.lang.String string)
Encrypts the given string, and returns the encrypted string.

Parameters:
string - the string to encrypt
Returns:
the encrypted string

decrypt

java.lang.String decrypt(java.lang.String string)
Decrypts the given encrypted string, and returns the original string.

Parameters:
string - the string to decrypt
Returns:
the original string


Copyright © 2008 Actuate Corp. All rights reserved.