Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dojox/sql/_crypto.js

  • Provides:

    • dojox.sql._crypto
  • dojox.sql._crypto._POOL_SIZE

    • type
      Size
    • summary
      of worker pool to create to help with crypto
  • dojox.sql._crypto.encrypt

    • parameters:
      • plaintext
      • password
      • callback
    • summary
      Use Corrected Block TEA to encrypt plaintext using password
      (note plaintext & password must be strings not string objects).
      Results will be returned to the 'callback' asychronously.
    • type
      Function
  • dojox.sql._crypto.decrypt

    • parameters:
      • ciphertext
      • password
      • callback
    • summary
      Use Corrected Block TEA to decrypt ciphertext using password
      (note ciphertext & password must be strings not string objects).
      Results will be returned to the 'callback' asychronously.
    • type
      Function
  • dojox.sql._crypto._initWorkerPool

    • type
      Function
  • dojox.sql._crypto._initWorkerPool._manager

    • type
      Object
  • dojox.sql._crypto._initWorkerPool._unemployed

    • type
      Array
  • dojox.sql._crypto._initWorkerPool._employed

    • type
      Object
  • dojox.sql._crypto._initWorkerPool._handleMessage

    • type
      Array
  • dojox.sql._crypto._initWorkerPool._manager.onmessage

    • parameters:
      • msg
      • sender
    • type
      Function
  • dojox.sql._crypto._assignWork

    • parameters:
      • msg
      • callback
    • type
      Function
  • dojox.sql._crypto._assignWork._handleMessage

    • type
      Object
  • dojox.sql._crypto._workerHandler

    • parameters:
      • msg
      • sender
    • type
      Function
  • dojox.sql._crypto

    • summary
      dojox.sql cryptography code
    • description
      Taken from http://www.movable-type.co.uk/scripts/aes.html by
      Chris Veness (CLA signed); adapted for Dojo and Google Gears Worker Pool
      by Brad Neuberg, bkn3@columbia.edu
  • dojox.sql

    • type
      Object
  • dojox

    • type
      Object