UNPKG

554 BJavaScriptView Raw
1;(function (root, factory, undef) {
2 if (typeof exports === "object") {
3 // CommonJS
4 module.exports = exports = factory(require("./core"), require("./cipher-core"));
5 }
6 else if (typeof define === "function" && define.amd) {
7 // AMD
8 define(["./core", "./cipher-core"], factory);
9 }
10 else {
11 // Global (browser)
12 factory(root.CryptoJS);
13 }
14}(this, function (CryptoJS) {
15
16 /**
17 * A noop padding strategy.
18 */
19 CryptoJS.pad.NoPadding = {
20 pad: function () {
21 },
22
23 unpad: function () {
24 }
25 };
26
27
28 return CryptoJS.pad.NoPadding;
29
30}));
\No newline at end of file