Computes the SHA1 digest of the data, and returns the result according to output type.
Parameter | Type | Description |
---|---|---|
data | String | |
outputType | Object |
Optional
|
See the dojox/encoding/digests/SHA1 reference documentation for more information.
computes the digest of data, and returns the result according to type outputType
Parameter | Type | Description |
---|---|---|
data | string | |
key | string | |
outputType | Object |
Optional An object with the following properties:
|