Class Base64Format
java.lang.Object
org.apache.shiro.crypto.hash.format.Base64Format
- All Implemented Interfaces:
HashFormat
Deprecated.
will throw exceptions in 2.1.0, to be removed in 2.2.0
HashFormat that outputs only the hash's digest bytes in Base64 format. It does not print out
anything else (salt, iterations, etc.). This implementation is mostly provided as a convenience for
command-line hashing.- Since:
- 1.2
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Base64Format
public Base64Format()Deprecated.
-
-
Method Details
-
format
Deprecated.Returnshash.toBase64().- Specified by:
formatin interfaceHashFormat- Parameters:
hash- the hash instance to format into a String.- Returns:
hash.toBase64().- Throws:
NullPointerException- if hash isnull.
-