org.jasypt.encryption
Interface StringEncryptor

All Known Subinterfaces:
PBEStringCleanablePasswordEncryptor, PBEStringEncryptor
All Known Implementing Classes:
PooledPBEStringEncryptor, StandardPBEStringEncryptor

public interface StringEncryptor

Common interface for all Encryptors which receive a String message and return a String result.

Since:
1.0
Author:
Daniel Fernández

Method Summary
 String decrypt(String encryptedMessage)
          Decrypt an encrypted message
 String encrypt(String message)
          Encrypt the input message
 

Method Detail

encrypt

String encrypt(String message)
Encrypt the input message

Parameters:
message - the message to be encrypted
Returns:
the result of encryption

decrypt

String decrypt(String encryptedMessage)
Decrypt an encrypted message

Parameters:
encryptedMessage - the encrypted message to be decrypted
Returns:
the result of decryption


Copyright © 2011 The JASYPT team. All Rights Reserved.