import Checksum from "../../operations/Checksum.js"; import Hash from "../../operations/Hash.js"; /** * Hashing module. * * Libraries: * - CryptoApi * - node-md6 * - js-sha3 * - ./Checksum.js * * @author n1474335 [n1474335@gmail.com] * @copyright Crown Copyright 2017 * @license Apache-2.0 */ let OpModules = typeof self === "undefined" ? {} : self.OpModules || {}; OpModules.Hashing = { "Analyse hash": Hash.runAnalyse, "Generate all hashes": Hash.runAll, "MD2": Hash.runMD2, "MD4": Hash.runMD4, "MD5": Hash.runMD5, "MD6": Hash.runMD6, "SHA0": Hash.runSHA0, "SHA1": Hash.runSHA1, "SHA2": Hash.runSHA2, "SHA3": Hash.runSHA3, "Keccak": Hash.runKeccak, "Shake": Hash.runShake, "RIPEMD": Hash.runRIPEMD, "HMAC": Hash.runHMAC, "Fletcher-8 Checksum": Checksum.runFletcher8, "Fletcher-16 Checksum": Checksum.runFletcher16, "Fletcher-32 Checksum": Checksum.runFletcher32, "Fletcher-64 Checksum": Checksum.runFletcher64, "Adler-32 Checksum": Checksum.runAdler32, "CRC-16 Checksum": Checksum.runCRC16, "CRC-32 Checksum": Checksum.runCRC32, "TCP/IP Checksum": Checksum.runTCPIP, }; export default OpModules;