atg.security
Interface BinaryToTextEncoder
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- Base16Encoder, Base64Encoder, NullEncoder
public interface BinaryToTextEncoder
- extends java.io.Serializable
An encoder that takes a binary array and turns it into a text string.
This is often used by PasswordHasher
s to turn encrypted
passwords into an easily manipulated string.
Implementations must be serializable.
Method Summary |
java.lang.String |
encode(byte[] pBytes)
Returns a string representation of a series of bytes. |
CLASS_VERSION
static final java.lang.String CLASS_VERSION
- See Also:
- Constant Field Values
encode
java.lang.String encode(byte[] pBytes)
- Returns a string representation of a series of bytes.