Interface HashFormat
-
- All Known Subinterfaces:
ModularCryptFormat
,ParsableHashFormat
- All Known Implementing Classes:
Base64Format
,HexFormat
,Shiro1CryptFormat
public interface HashFormat
AHashFormat
is able to format aHash
instance into a well-defined formatted String. Note that not all HashFormat algorithms are reversible. That is, they can't be parsed and reconstituted to the original Hash instance. The traditional Unix crypt(3) is one such format. The formats that are reversible however will be represented asParsableHashFormat
instances.- Since:
- 1.2
- See Also:
ParsableHashFormat
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
format(Hash hash)
Returns a formatted string representing the specified Hash instance.
-