diff --git a/src/main.js b/src/main.js --- a/src/main.js +++ b/src/main.js @@ -1,13 +1,15 @@ 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,Chacha20}; +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;