AI销管
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pad-nopadding.js 554 B

2 years ago
123456789101112131415161718192021222324252627282930
  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. * A noop padding strategy.
  17. */
  18. CryptoJS.pad.NoPadding = {
  19. pad: function () {
  20. },
  21. unpad: function () {
  22. }
  23. };
  24. return CryptoJS.pad.NoPadding;
  25. }));