public class HexFormat extends Object implements HashFormat
HashFormat that outputs only The hash's digest bytes in hex format. It does not print out
anything else (salt, iterations, etc). This implementation is mostly provided as a convenience for
command-line hashing.| Constructor and Description |
|---|
HexFormat() |
public String format(Hash hash)
hash != null ? hash.toHex() : null.format in interface HashFormathash - the hash instance to format into a String.hash != null ? hash.toHex() : null.Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.