dojox/encoding/digests/SHA1 (version 1.10)

Summary

Computes the SHA1 digest of the data, and returns the result according to output type.

Usage

SHA1(data,outputType);
Parameter Type Description
data String
outputType Object
Optional

See the dojox/encoding/digests/SHA1 reference documentation for more information.

Method Summary

  • _hmac(data,key,outputType) computes the digest of data, and returns the result according to type outputType

Methods

_hmac(data,key,outputType)

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:

  • Base64
  • Hex
  • String
  • Raw
Error in the documentation? Can’t find what you are looking for? Let us know!