HashFormat

A {@code HashFormat} is able to format a {@link Hash} instance into a well-defined formatted string. <p/> Note that not all HashFormat algorithms are reversible. That is, they can't be parsed and reconstituted to the original Hash instance. The traditional <a href="http://en.wikipedia.org/wiki/Crypt_(Unix)"> Unix crypt(3)</a> is one such format. <p/> The formats that <em>are</em> reversible however will be represented as {@link ParsableHashFormat} instances.

@see ParsableHashFormat

interface HashFormat {}

Members

Functions

format
string format(Hash hash)

Returns a formatted string representing the specified Hash instance.

Meta