Decryptor
, Serializable
AbstractEncryptor
public interface Encryptor extends Decryptor
This interface allows separation between API needed by OWNER at decription level and a implementation with a decription library, as javax.crypto or others.
Modifier and Type | Method | Description |
---|---|---|
String |
encrypt(String value) |
Encrypts a value.
|
String encrypt(String value)
value
- the value to encrypt.IllegalArgumentException
- on any failure, with the message and the original exception.Copyright © 2012–2020 Luigi R. Viggiano. All rights reserved.