Files @ 51344a25b55d
Branch filter:

Location: CryptoJS/src/main.js - annotation

Laman
array padding refactored into util
import * as util from "./util.js";
import {blake2s} from "./blake.js";
import {Chacha20,encrypt,decrypt} from "./chacha.js";

export default {util,blake2s,Chacha20};

// export for tests running on Node
if(typeof module!=='undefined'&&module.hasOwnProperty('exports')){
	module.exports.util=util;
	module.exports.blake2s=blake2s;
	module.exports.Chacha20=Chacha20;
	module.exports.encrypt=encrypt;
	module.exports.decrypt=decrypt;
}