Useful utility class that provides a wrapper around a digest with methods to update the digest with many of the common parameter types used throughout the API.
@author Lee David Painternew Hash("key","value","bool",true,"int,42,....) toJavascript() {key:'value',bool:true,int:42} toAttributesString() key="value" bool="true" int="42"@author e.micklei
This is the hash of the binary media file. It can appear multiple times as long as each instance is a different algo. It has 1 optional attribute.
<media:hash algo="md5">dfdec888b72151965a34b4b59031290a</media:hash>
algo indicates the algorithm used to create the hash. Possible values are 'md5' and 'sha-1'. Default value is 'md5'. It is an optional attribute. @author cooper
Interface to define a cryptographic hash algorithm. A cryptographic hash function is a deterministic procedure that takes an arbitrary block of data and returns a fixed-size bit string, the (cryptographic) hash value, such that an accidental or intentional change to the data will change the hash value. The data to be encoded is often called the "message", and the hash value is sometimes called the message digest or simply digest.
Note: Implementations may not be thread-safe and should be externally synchronized.
Note: Instances should be created using the {@code HashManager} factory.
@see org.vngx.jsch.hash.HashManager @author Michael Laudati
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|