summaryrefslogtreecommitdiff
path: root/includes/js/dojox/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'includes/js/dojox/crypto')
-rw-r--r--includes/js/dojox/crypto/Blowfish.js10
-rw-r--r--includes/js/dojox/crypto/MD5.js10
-rw-r--r--includes/js/dojox/crypto/README12
-rw-r--r--includes/js/dojox/crypto/_base.js14
4 files changed, 46 insertions, 0 deletions
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);
+
+}