This documentation is for the old version. Go to the latest Upload Suite docs

converter.hash Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or sets an algorithm to generate a hash value for each converted file created using this converter.

Syntax

JavaScript Initialize
$au.uploader({
    converters : [
        {
            //...other params...
            hash: "",
            //...other params...
        }
    ]
})
Get/Set Value at Runtime
$au.uploader('uploaderID').converters().get(index).hash(value);
value = $au.uploader('uploaderID').converters().get(index).hash();

Property Value

Type: String

The algorithm to generate a hash value for each converted file created using this converter.

Possible values are listed in the table below.

ValueDescription
SHASHA hash algorithm.
MD2MD2 hash algorithm.
MD5MD5 hash algorithm.

You can specify several hash algorithms separated by semicolon.

Default value is "".

See Also

Reference