/** * @see module:crypto/crypto * @module crypto */ 'use strict'; import cipher from './cipher'; import hash from './hash'; import cfb from './cfb'; import publicKey from './public_key'; import signature from './signature'; import random from './random'; import pkcs1 from './pkcs1'; import crypto from './crypto.js'; const mod = { /** @see module:crypto/cipher */ cipher: cipher, /** @see module:crypto/hash */ hash: hash, /** @see module:crypto/cfb */ cfb: cfb, /** @see module:crypto/public_key */ publicKey: publicKey, /** @see module:crypto/signature */ signature: signature, /** @see module:crypto/random */ random: random, /** @see module:crypto/pkcs1 */ pkcs1: pkcs1, }; for (var i in crypto) { mod[i] = crypto[i]; } export default mod;