Package | Description |
---|---|
org.owasp.esapi |
The ESAPI interfaces and
Exception classes model the most
important security functions to enterprise web applications. |
org.owasp.esapi.reference.crypto |
This package contains the reference implementation for some of
the ESAPI cryptography-related classes used throughout ESAPI.
|
Modifier and Type | Method and Description |
---|---|
PlainText |
Encryptor.decrypt(CipherText ciphertext)
Decrypts the provided
CipherText using the information from it
and the master encryption key as specified by the property
Encryptor.MasterKey as defined in the ESAPI.properties
file. |
PlainText |
Encryptor.decrypt(SecretKey key,
CipherText ciphertext)
Decrypts the provided
CipherText using the information from it
and the specified secret key. |
Modifier and Type | Method and Description |
---|---|
CipherText |
Encryptor.encrypt(PlainText plaintext)
Encrypts the provided plaintext bytes using the cipher transformation
specified by the property
Encryptor.CipherTransformation
and the master encryption key as specified by the property
Encryptor.MasterKey as defined in the ESAPI.properties file. |
CipherText |
Encryptor.encrypt(SecretKey key,
PlainText plaintext)
Encrypts the provided plaintext bytes using the cipher transformation
specified by the property
Encryptor.CipherTransformation
as defined in the ESAPI.properties file and the
specified secret key. |
Modifier and Type | Method and Description |
---|---|
PlainText |
JavaEncryptor.decrypt(CipherText ciphertext)
Decrypts the provided
CipherText using the information from it
and the master encryption key as specified by the property
Encryptor.MasterKey as defined in the ESAPI.properties
file. |
PlainText |
JavaEncryptor.decrypt(SecretKey key,
CipherText ciphertext)
Decrypts the provided
CipherText using the information from it
and the specified secret key. |
Modifier and Type | Method and Description |
---|---|
CipherText |
JavaEncryptor.encrypt(PlainText plaintext)
Encrypts the provided plaintext bytes using the cipher transformation
specified by the property
Encryptor.CipherTransformation
and the master encryption key as specified by the property
Encryptor.MasterKey as defined in the ESAPI.properties file. |
CipherText |
JavaEncryptor.encrypt(SecretKey key,
PlainText plain)
Encrypts the provided plaintext bytes using the cipher transformation
specified by the property
Encryptor.CipherTransformation
as defined in the ESAPI.properties file and the
specified secret key. |
Copyright © 2019 The Open Web Application Security Project (OWASP). All rights reserved.