io.github.sinri.keel.helper.encryption.aes.AESValueEnvelope Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Keel Show documentation
Show all versions of Keel Show documentation
A website framework with VERT.X for ex-PHP-ers, exactly Ark Framework Users.
The newest version!
package io.github.sinri.keel.helper.encryption.aes;
import io.github.sinri.keel.core.TechnicalPreview;
import javax.annotation.Nullable;
/**
* @since 3.1.0 Technical Preview
*/
@TechnicalPreview(since = "3.1.0")
public interface AESValueEnvelope {
/**
* Encrypt the raw string and store the encrypted value with this instance.
*
* @param raw The raw string value.
*/
@Nullable
String encrypt(@Nullable String raw);
/**
* Decrypt the stored value and return the raw string.
*/
@Nullable
String decrypt(@Nullable String decrypted);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy