IDataEncryption

public interface IDataEncryption

Encryption interface to provide object encoding and decoding methods.

Methods

Method Description
encode(String source) Encode method to encrypt string.
decode(String source) Decode method to obtain decrypted string.

encode(String source)

public abstract String encode(String source)

Encode method to encrypt string.

Parameters:

Parameter Type Description
source java.lang.String Source string to encode.

Returns: java.lang.String - Returns encrypted string

decode(String source)

public abstract String decode(String source)

Decode method to obtain decrypted string.

Parameters:

Parameter Type Description
source java.lang.String Encrypted string to decode.

Returns: java.lang.String - Returns decrypted string