Files @ 944bd9524df4
Branch filter:

Location: CryptoJS/src/main.js - annotation

Laman
added PBKDF2
import * as util from "./util.js";
import {blake2s} from "./blake.js";
import {pbkdf2} from "./pbkdf2.js";
import {Chacha20,encrypt,decrypt} from "./chacha.js";

export default {util,blake2s,pbkdf2,Chacha20,encrypt,decrypt};

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