Package lumis.util.security
Interface IEncryptor
-
@Deprecated public interface IEncryptor
Deprecated.Since 5.5.0, replaced by thelumis.portal.crypto
package.Defines the methods an encryptor must implement.- Since:
- 4.0.0
- Version:
- $Revision: 11180 $ $Date: 2009-12-04 18:13:02 -0200 (Fri, 04 Dec 2009) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description String
decrypt(String value)
Deprecated.Decrypts a string.String
encrypt(String value)
Deprecated.Encrypts a string.void
init(Node configuration)
Deprecated.This method is called only once and before any other method are called.
-
-
-
Method Detail
-
init
void init(Node configuration) throws Exception
Deprecated.This method is called only once and before any other method are called. This allows the encryptor to initialize itself and read any custom configuration.- Throws:
Exception
-
encrypt
String encrypt(String value) throws Exception
Deprecated.Encrypts a string.- Parameters:
value
- the original string.- Returns:
- the encrypted string.
- Throws:
Exception
-
-