org.jasig.portlet.emailpreview.security
Interface IStringEncryptionService

All Known Implementing Classes:
JasyptPBEStringEncryptionServiceImpl

public interface IStringEncryptionService

IStringEncryptionService is a small interface for string encryption/decryption. It is expected that this service will generally consist of a small wrapper for some other encryption API.

Author:
bourey

Method Summary
 String decrypt(String cryptotext)
          Decrypt a string
 String encrypt(String plaintext)
          Encrypt a string
 

Method Detail

encrypt

String encrypt(String plaintext)
Encrypt a string

Parameters:
plaintext -
Returns:

decrypt

String decrypt(String cryptotext)
Decrypt a string

Parameters:
cryptotext -
Returns:


Copyright © 2012 Jasig. All Rights Reserved.