mirror of
https://github.com/gchq/CyberChef
synced 2025-12-13 23:03:16 +00:00
Converted all modules from CommonJS to ES6
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
var Utils = require("../Utils.js"),
|
||||
CryptoJS = require("crypto-js"),
|
||||
Blowfish = require("sladex-blowfish");
|
||||
import Utils from "../Utils.js";
|
||||
import CryptoJS from "crypto-js";
|
||||
import {blowfish as Blowfish} from "sladex-blowfish";
|
||||
|
||||
|
||||
/**
|
||||
@@ -12,7 +12,7 @@ var Utils = require("../Utils.js"),
|
||||
*
|
||||
* @namespace
|
||||
*/
|
||||
var Cipher = module.exports = {
|
||||
const Cipher = {
|
||||
|
||||
/**
|
||||
* @constant
|
||||
@@ -617,6 +617,8 @@ var Cipher = module.exports = {
|
||||
|
||||
};
|
||||
|
||||
export default Cipher;
|
||||
|
||||
|
||||
/**
|
||||
* Overwriting the CryptoJS OpenSSL key derivation function so that it is possible to not pass a
|
||||
|
||||
Reference in New Issue
Block a user