Class AbstractHash

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

@Deprecated public abstract class AbstractHash extends org.apache.shiro.lang.codec.CodecSupport implements Hash, Serializable
Deprecated.
in Shiro 1.1 in favor of using the concrete SimpleHash implementation directly.
Provides a base for all Shiro Hash algorithms with support for salts and multiple hash iterations.

Read http://www.owasp.org/index.php/Hashing_Java for a good article on the benefits of hashing, including what a 'salt' is as well as why it and multiple hash iterations can be useful.

This class and its subclasses support hashing with additional capabilities of salting and multiple iterations via overloaded constructors.

Since:
0.9
See Also: