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 PasswordHashers to turn encrypted passwords into an easily manipulated string.

Implementations must be serializable.


Field Summary
static java.lang.String CLASS_VERSION
           
 
Method Summary
 java.lang.String encode(byte[] pBytes)
          Returns a string representation of a series of bytes.
 

Field Detail

CLASS_VERSION

static final java.lang.String CLASS_VERSION
See Also:
Constant Field Values
Method Detail

encode

java.lang.String encode(byte[] pBytes)
Returns a string representation of a series of bytes.