public interface HashFormat
HashFormat is able to format a Hash 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 as ParsableHashFormat instances.ParsableHashFormat| Modifier and Type | Method and Description |
|---|---|
String |
format(Hash hash)
Returns a formatted string representing the specified Hash instance.
|
Copyright © 2004–2023 The Apache Software Foundation. All rights reserved.