mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 23:06:16 -04:00
Converted all modules from CommonJS to ES6
This commit is contained in:
parent
0f2a5014be
commit
131b3a83c1
75 changed files with 395 additions and 282 deletions
|
@ -1,7 +1,7 @@
|
|||
var Utils = require("../Utils.js"),
|
||||
CryptoJS = require("crypto-js"),
|
||||
CryptoApi = require("crypto-api"),
|
||||
Checksum = require("./Checksum.js");
|
||||
import Utils from "../Utils.js";
|
||||
import CryptoJS from "crypto-js";
|
||||
import CryptoApi from "crypto-api";
|
||||
import Checksum from "./Checksum.js";
|
||||
|
||||
|
||||
/**
|
||||
|
@ -13,7 +13,7 @@ var Utils = require("../Utils.js"),
|
|||
*
|
||||
* @namespace
|
||||
*/
|
||||
var Hash = module.exports = {
|
||||
const Hash = {
|
||||
|
||||
/**
|
||||
* MD2 operation.
|
||||
|
@ -385,3 +385,5 @@ var Hash = module.exports = {
|
|||
},
|
||||
|
||||
};
|
||||
|
||||
export default Hash;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue