API Docs for: undefined
Show:

YQLCrypto Class

Defined in: js/yql-crypto.js:56

Methods

execute

(
  • code
  • callbackFunction
  • params
  • opts
)

Defined in js/yql-crypto.js:61

This method wraps the YQL execute data table which executes inline Javascript on the YQL server. YQL Server side Javascript documentation is here: http://developer.yahoo.com/yql/guide/yql-javascript-objects.html

Parameters:

  • code String

    Javascript code to execute on the YQL server.

  • callbackFunction Function

    Passes through to Y.YQL.

  • params Object

    (optional) Passes through to Y.YQL.

  • opts Object

    (optional) Passes through to Y.YQL.

hmacSha1

(
  • string
  • secret
  • callbackFunction
  • params
  • opts
)

Defined in js/yql-crypto.js:73

Generates a sha1 hash-based message authentication code. The result is expressed as a hex value.

Parameters:

  • string String

    The message to hash.

  • secret String

    The secret key.

  • callbackFunction Function

    The result value is the only parameter.

  • params Object

    (optional) Passes through to Y.YQL.

  • opts Object

    (optional) Passes through to Y.YQL.

hmacSha1_b64

(
  • string
  • secret
  • callbackFunction
  • params
  • opts
)

Defined in js/yql-crypto.js:85

Generates a sha1 hash-based message authentication code. The result is expressed as a base 64 encoded value.

Parameters:

  • string String

    The message to hash.

  • secret String

    The secret key.

  • callbackFunction Function

    The result value is the only parameter.

  • params Object

    (optional) Passes through to Y.YQL.

  • opts Object

    (optional) Passes through to Y.YQL.

hmacSha256

(
  • string
  • secret
  • callbackFunction
  • params
  • opts
)

Defined in js/yql-crypto.js:97

Generates a sha256 hash-based message authentication code. The result is expressed as a hex value.

Parameters:

  • string String

    The message to hash.

  • secret String

    The secret key.

  • callbackFunction Function

    The result value is the only parameter.

  • params Object

    (optional) Passes through to Y.YQL.

  • opts Object

    (optional) Passes through to Y.YQL.

hmacSha256_b64

(
  • string
  • secret
  • callbackFunction
  • params
  • opts
)

Generates a sha256 hash-based message authentication code. The result is expressed as a base 64 encoded value.

Parameters:

  • string String

    The message to hash.

  • secret String

    The secret key.

  • callbackFunction Function

    The result value is the only parameter.

  • params Object

    (optional) Passes through to Y.YQL.

  • opts Object

    (optional) Passes through to Y.YQL.

md5

(
  • string
  • callbackFunction
  • params
  • opts
)

Generates an md5 hash. The result is expressed as a hex value.

Parameters:

  • string String

    The message to hash.

  • callbackFunction Function

    The result value is the only parameter.

  • params Object

    (optional) Passes through to Y.YQL.

  • opts Object

    (optional) Passes through to Y.YQL.

md5_b64

(
  • string
  • callbackFunction
  • params
  • opts
)

Generates an md5 hash. The result is expressed as a base 64 encoded value.

Parameters:

  • string String

    The message to hash.

  • callbackFunction Function

    The result value is the only parameter.

  • params Object

    (optional) Passes through to Y.YQL.

  • opts Object

    (optional) Passes through to Y.YQL.

sha1

(
  • string
  • callbackFunction
  • params
  • opts
)

Generates a sha1 hash. The result is expressed as a hex value.

Parameters:

  • string String

    The message to hash.

  • callbackFunction Function

    The result value is the only parameter.

  • params Object

    (optional) Passes through to Y.YQL.

  • opts Object

    (optional) Passes through to Y.YQL.

sha1_b64

(
  • string
  • callbackFunction
  • params
  • opts
)

Generates a sha1 hash. The result is expressed as a base 64 encoded value.

Parameters:

  • string String

    The message to hash.

  • callbackFunction Function

    The result value is the only parameter.

  • params Object

    (optional) Passes through to Y.YQL.

  • opts Object

    (optional) Passes through to Y.YQL.

uuid

(
  • callbackFunction
  • params
  • opts
)

Generates a universally unique identifier.

Parameters:

  • callbackFunction Function

    The result value is the only parameter.

  • params Object

    (optional) Passes through to Y.YQL.

  • opts Object

    (optional) Passes through to Y.YQL.