Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions

An interface for performing symmetric encryption/decryption using a key which is configured in the underlying implementation.

Mirko Caserta (
 public interface CiphererWithStaticKey {

Encrypts/decrypts a message based on the underlying mode of operation.

message if in encryption mode, the clear-text message, otherwise the message to decrypt
if in encryption mode, the encrypted message, otherwise the decrypted message
    byte[] encrypt(byte[] message);
New to GrepCode? Check out our FAQ X