@StableMinor(version="7.1", sinceVersion="5.5") public interface ICipher
String encrypt(String value)
value
- the original string.IllegalArgumentException
- if value
is null
.String decrypt(String value) throws InvalidEncryptedValueException
value
- the encrypted string.IllegalArgumentException
- if value
is null
.InvalidEncryptedValueException
- if value
is
incompatible with this cipher (probably was not encrypted by it or
is corrupted).UnsupportedOperationException
- if this is a one-way cipher and
does not support decryption.byte[] encrypt(byte[] value)
value
- the original value.IllegalArgumentException
- if value
is null
.byte[] decrypt(byte[] value) throws InvalidEncryptedValueException
value
- the encrypted value.UnsupportedOperationException
- if this is a one-way cipher and
does not support decryption.IllegalArgumentException
- if value
is null
.InvalidEncryptedValueException
- if value
is
incompatible with this cipher (probably was not encrypted by it or
is corrupted).Lumisportal 7.1.1.140331 - Copyright © 2006–2014 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.