SimpleHash.this

Creates an {@code algorithmName}-specific hash of the specified {@code source} using the given {@code salt} using a single hash iteration. <p/> It is a convenience constructor that merely executes <code>this( algorithmName, source, salt, 1);</code>. <p/> Please see the {@link #SimpleHash(string algorithmName, Object source, Object salt, int numIterations) SimpleHashHash(algorithmName, Object,Object,int)} constructor for the types of Objects that may be passed into this constructor, as well as how to support further types.

@param algorithmName the {@link java.security.MessageDigest MessageDigest} algorithm name to use when performing the hash. @param source the source object to be hashed. @param salt the salt to use for the hash @throws CodecException if either constructor argument cannot be converted into a byte array. @throws UnknownAlgorithmException if the {@code algorithmName} is not available.

Meta