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

org.owasp.esapi.Encryptor Maven / Gradle / Ivy

package org.owasp.esapi;

import org.owasp.esapi.crypto.CipherText;
import org.owasp.esapi.crypto.PlainText;
import org.owasp.esapi.errors.EncryptionException;

import javax.crypto.SecretKey;

public interface Encryptor {
    void encrypt(PlainText pt) throws EncryptionException;

    void encrypt(SecretKey secretKey, PlainText pt) throws EncryptionException;

    void encrypt(String pt) throws EncryptionException;


    void decrypt(CipherText ct);

    void decrypt(SecretKey secretKey, CipherText ct);

    void decrypt(String ct);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy