Sha256: 4f563373ba4af442e1b425b7b7dd1030ed84b9babe9821949922d9677bf14701

Contents?: true

Size: 893 Bytes

Versions: 32

Compression:

Stored size: 893 Bytes

Contents

;(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) {

	/**
	 * Electronic Codebook block mode.
	 */
	CryptoJS.mode.ECB = (function () {
	    var ECB = CryptoJS.lib.BlockCipherMode.extend();

	    ECB.Encryptor = ECB.extend({
	        processBlock: function (words, offset) {
	            this._cipher.encryptBlock(words, offset);
	        }
	    });

	    ECB.Decryptor = ECB.extend({
	        processBlock: function (words, offset) {
	            this._cipher.decryptBlock(words, offset);
	        }
	    });

	    return ECB;
	}());


	return CryptoJS.mode.ECB;

}));

Version data entries

32 entries across 32 versions & 3 rubygems

Version Path
appmap-0.72.2 ./node_modules/crypto-js/mode-ecb.js
appmap-0.72.1 ./node_modules/crypto-js/mode-ecb.js
appmap-0.72.0 ./node_modules/crypto-js/mode-ecb.js
appmap-0.71.0 ./node_modules/crypto-js/mode-ecb.js
appmap-0.70.2 ./node_modules/crypto-js/mode-ecb.js
appmap-0.70.1 ./node_modules/crypto-js/mode-ecb.js
appmap-0.70.0 ./node_modules/crypto-js/mode-ecb.js
appmap-0.69.0 ./node_modules/crypto-js/mode-ecb.js
appmap-0.68.2 ./node_modules/crypto-js/mode-ecb.js
appmap-0.68.1 ./node_modules/crypto-js/mode-ecb.js
appmap-0.68.0 ./node_modules/crypto-js/mode-ecb.js
appmap-0.67.1 ./node_modules/crypto-js/mode-ecb.js
appmap-0.67.0 ./node_modules/crypto-js/mode-ecb.js
appmap-0.66.2 ./node_modules/crypto-js/mode-ecb.js
appmap-0.66.1 ./node_modules/crypto-js/mode-ecb.js
appmap-0.66.0 ./node_modules/crypto-js/mode-ecb.js
appmap-0.65.1 ./node_modules/crypto-js/mode-ecb.js
appmap-0.65.0 ./node_modules/crypto-js/mode-ecb.js
appmap-0.64.0 ./node_modules/crypto-js/mode-ecb.js
appmap-0.63.0 ./node_modules/crypto-js/mode-ecb.js