From e44a7e37b6c7b5961adaffc62b9042b8d442938e Mon Sep 17 00:00:00 2001 From: mensonge Date: Thu, 13 Nov 2008 09:49:11 +0000 Subject: New feature: basic Ajax suggestion for tags and implementation of Dojo toolkit git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@151 b3834d28-1941-0410-a4f8-b48e95affb8f --- includes/js/dojox/crypto/Blowfish.js | 10 ++++++++++ includes/js/dojox/crypto/MD5.js | 10 ++++++++++ includes/js/dojox/crypto/README | 12 ++++++++++++ includes/js/dojox/crypto/_base.js | 14 ++++++++++++++ 4 files changed, 46 insertions(+) create mode 100644 includes/js/dojox/crypto/Blowfish.js create mode 100644 includes/js/dojox/crypto/MD5.js create mode 100644 includes/js/dojox/crypto/README create mode 100644 includes/js/dojox/crypto/_base.js (limited to 'includes/js/dojox/crypto') diff --git a/includes/js/dojox/crypto/Blowfish.js b/includes/js/dojox/crypto/Blowfish.js new file mode 100644 index 0000000..a317887 --- /dev/null +++ b/includes/js/dojox/crypto/Blowfish.js @@ -0,0 +1,10 @@ +if(!dojo._hasResource["dojox.crypto.Blowfish"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. +dojo._hasResource["dojox.crypto.Blowfish"] = true; +dojo.provide("dojox.crypto.Blowfish"); +dojo.require("dojox.encoding.crypto.Blowfish"); + +dojo.deprecated("dojox.crypto.Blowfish", "DojoX cryptography has been merged into DojoX Encoding. To use Blowfish, include dojox.encoding.crypto.Blowfish.", "1.2"); + +dojox.crypto.Blowfish=dojox.encoding.crypto.Blowfish; + +} diff --git a/includes/js/dojox/crypto/MD5.js b/includes/js/dojox/crypto/MD5.js new file mode 100644 index 0000000..aa5ac1e --- /dev/null +++ b/includes/js/dojox/crypto/MD5.js @@ -0,0 +1,10 @@ +if(!dojo._hasResource["dojox.crypto.MD5"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. +dojo._hasResource["dojox.crypto.MD5"] = true; +dojo.provide("dojox.crypto.MD5"); +dojo.require("dojox.encoding.digests.MD5"); + +dojo.deprecated("dojox.crypto.MD5.compute", "DojoX cryptography has been merged into DojoX Encoding. To use MD5, include dojox.encoding.digests.MD5.", "1.2"); + +dojox.crypto.MD5.compute=dojox.encoding.digests.MD5; + +} diff --git a/includes/js/dojox/crypto/README b/includes/js/dojox/crypto/README new file mode 100644 index 0000000..4103fa6 --- /dev/null +++ b/includes/js/dojox/crypto/README @@ -0,0 +1,12 @@ +------------------------------------------------------------------------------- +DojoX Cryptography +------------------------------------------------------------------------------- +Project state: +deprecated +------------------------------------------------------------------------------- +This project will be removed in the near future in favor of dojox.encoding. If +you are using this code, please follow the upgrade path: + +Digests (MD5): dojox.encoding.digests.MD5 +Crypto (Blowfish): dojox.encoding.crypto.Blowfish +------------------------------------------------------------------------------- diff --git a/includes/js/dojox/crypto/_base.js b/includes/js/dojox/crypto/_base.js new file mode 100644 index 0000000..152dd02 --- /dev/null +++ b/includes/js/dojox/crypto/_base.js @@ -0,0 +1,14 @@ +if(!dojo._hasResource["dojox.crypto._base"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. +dojo._hasResource["dojox.crypto._base"] = true; +dojo.provide("dojox.crypto._base"); + +dojo.require("dojox.encoding.crypto._base"); +dojo.require("dojox.encoding.digests._base"); + +dojo.deprecated("dojox.crypto._base", "DojoX cryptography has been merged into DojoX Encoding. To use, include dojox.encoding.digests and/or dojox.encoding.crypto.", "1.2"); + +// unfortunately there's no way of pointing at two files with an alias, particularly +// when both have similarly named things; but we'll try anyways. +dojox.crypto._base=dojo.mixin(dojox.encoding.crypto._base, dojox.encoding.digests._base); + +} -- cgit v1.2.3