

metadata.hash Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari



JavaScript Initialize
    metadata: {
        //...other params...
        hash: "",
        //...other params...
Get/Set Value at Runtime
value = $au.uploader('uploaderID').metadata().hash();

Property Value

Type: String


Possible values are listed in the table below.

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

You can specify several hash algorithms separated by semicolon.

Default value is "".





To get an uploaded hash sum at the server, you should extract POST field which is named in the following way: HashCodeXXX_N, where XXX is a string value specified in this property (hash algorithm), and N is the index of the file in the request. E.g. if the property value is MD5;SHA, you will get the following POST fields:

  • HashCodeMD5_1, HashCodeMD5_2, etc.
  • HashCodeSHA_1, HashCodeSHA_2, etc.


See Also