All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.googlecode.gwt.crypto.client.StreamCipher Maven / Gradle / Ivy

Go to download

A partial port of the Bouncycastle J2ME crypto library with parts taken from GWTx.

The newest version!
package com.googlecode.gwt.crypto.client;

import com.googlecode.gwt.crypto.bouncycastle.CipherParameters;
import com.googlecode.gwt.crypto.bouncycastle.DataLengthException;
import com.googlecode.gwt.crypto.bouncycastle.InvalidCipherTextException;

public interface StreamCipher {
    public String encrypt(String plainText) throws DataLengthException,
	    IllegalStateException, InvalidCipherTextException;

    public String decrypt(String cipherText) throws DataLengthException,
	    IllegalStateException, InvalidCipherTextException;

    public void setParameters(CipherParameters params)
	    throws IllegalArgumentException;

    public CipherParameters getParameters();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy