Class Sha256Hash

java.lang.Object
org.apache.shiro.lang.codec.CodecSupport
org.apache.shiro.crypto.hash.SimpleHash
org.apache.shiro.crypto.hash.Sha256Hash
All Implemented Interfaces:
Serializable, Hash, org.apache.shiro.lang.util.ByteSource

public class Sha256Hash extends SimpleHash
Generates an SHA-256 Hash from a given input source with an optional salt and hash iterations.

See the SimpleHash parent class JavaDoc for a detailed explanation of Hashing techniques and how the overloaded constructors function.

JDK Version Note - Attempting to instantiate this class on JREs prior to version 1.4.0 will throw an IllegalStateException

Since:
0.9
See Also: