Class Sha512Hash

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

public class Sha512Hash extends SimpleHash
Generates an SHA-512 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:
  • Field Details

  • Constructor Details

    • Sha512Hash

      public Sha512Hash()
    • Sha512Hash

      public Sha512Hash(Object source)
    • Sha512Hash

      public Sha512Hash(Object source, Object salt)
    • Sha512Hash

      public Sha512Hash(Object source, Object salt, int hashIterations)
  • Method Details