Interface HashFormat
-
- All Known Subinterfaces:
ModularCryptFormat,ParsableHashFormat
- All Known Implementing Classes:
Base64Format,HexFormat,Shiro1CryptFormat
public interface HashFormatAHashFormatis able to format aHashinstance 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 asParsableHashFormatinstances.- Since:
- 1.2
- See Also:
ParsableHashFormat
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringformat(Hash hash)Returns a formatted string representing the specified Hash instance.
-