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

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

Go to download

This module create facades for all the APIs (classes, interfaces and annotations) that are use in the test code. The objective is to avoid the needed to download all the framework supported by the static analyzer.

There is a newer version: 1.8.0
Show newest version
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 - 2024 Weber Informatics LLC | Privacy Policy