You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
554 B
JavaScript
30 lines
554 B
JavaScript
2 years ago
|
;(function (root, factory, undef) {
|
||
|
if (typeof exports === "object") {
|
||
|
// CommonJS
|
||
|
module.exports = exports = factory(require("./core"), require("./cipher-core"));
|
||
|
}
|
||
|
else if (typeof define === "function" && define.amd) {
|
||
|
// AMD
|
||
|
define(["./core", "./cipher-core"], factory);
|
||
|
}
|
||
|
else {
|
||
|
// Global (browser)
|
||
|
factory(root.CryptoJS);
|
||
|
}
|
||
|
}(this, function (CryptoJS) {
|
||
|
|
||
|
/**
|
||
|
* A noop padding strategy.
|
||
|
*/
|
||
|
CryptoJS.pad.NoPadding = {
|
||
|
pad: function () {
|
||
|
},
|
||
|
|
||
|
unpad: function () {
|
||
|
}
|
||
|
};
|
||
|
|
||
|
|
||
|
return CryptoJS.pad.NoPadding;
|
||
|
|
||
|
}));
|