diff --git a/src/core/Operation.mjs b/src/core/Operation.mjs
index cdeb9a73..3f5df52f 100755
--- a/src/core/Operation.mjs
+++ b/src/core/Operation.mjs
@@ -29,6 +29,7 @@ class Operation {
this.name = "";
this.module = "";
this.description = "";
+ this.infoURL = null;
}
diff --git a/src/core/config/scripts/generateConfig.mjs b/src/core/config/scripts/generateConfig.mjs
index 2ee121ce..7f0dfc59 100644
--- a/src/core/config/scripts/generateConfig.mjs
+++ b/src/core/config/scripts/generateConfig.mjs
@@ -35,12 +35,13 @@ for (const opObj in Ops) {
const op = new Ops[opObj]();
operationConfig[op.name] = {
- module: op.module,
+ module: op.module,
description: op.description,
- inputType: op.inputType,
- outputType: op.presentType,
+ infoURL: op.infoURL,
+ inputType: op.inputType,
+ outputType: op.presentType,
flowControl: op.flowControl,
- args: op.args
+ args: op.args
};
if (op.hasOwnProperty("patterns")) {
diff --git a/src/core/config/scripts/newOperation.mjs b/src/core/config/scripts/newOperation.mjs
index f6620ffa..88b86296 100644
--- a/src/core/config/scripts/newOperation.mjs
+++ b/src/core/config/scripts/newOperation.mjs
@@ -53,6 +53,12 @@ If your operation does not rely on a library, just leave this blank and it will
prompt: "Description",
type: "string"
},
+ infoURL: {
+ description: "An optional URL for an external site can be added to give more information about the operation. Wikipedia links are often suitable. If linking to Wikipedia, use an international link (e.g. https://wikipedia.org/...) rather than a localised link (e.g. https://en.wikipedia.org/...).",
+ example: "https://wikipedia.org/wiki/Percent-encoding",
+ prompt: "Information URL",
+ type: "string",
+ },
inputType: {
description: `The input type defines how the input data will be presented to your operation. Check the project wiki for a full description of each type. The options are: ${ioTypes.join(", ")}.`,
example: "string",
@@ -141,6 +147,7 @@ class ${moduleName} extends Operation {
this.name = "${result.opName}";
this.module = "${result.module}";
this.description = "${(new EscapeString).run(result.description, ["Special chars", "Double"])}";
+ this.infoURL = "${result.infoURL}";
this.inputType = "${result.inputType}";
this.outputType = "${result.outputType}";
this.args = [
diff --git a/src/core/operations/ADD.mjs b/src/core/operations/ADD.mjs
index 40329494..7550e8e6 100644
--- a/src/core/operations/ADD.mjs
+++ b/src/core/operations/ADD.mjs
@@ -22,6 +22,7 @@ class ADD extends Operation {
this.name = "ADD";
this.module = "Default";
this.description = "ADD the input with the given key (e.g. fe023da5
), MOD 255";
+ this.infoURL = "https://wikipedia.org/wiki/Bitwise_operation#Bitwise_operators";
this.inputType = "byteArray";
this.outputType = "byteArray";
this.args = [
diff --git a/src/core/operations/AESDecrypt.mjs b/src/core/operations/AESDecrypt.mjs
index 7d9ac5ca..53489d3c 100644
--- a/src/core/operations/AESDecrypt.mjs
+++ b/src/core/operations/AESDecrypt.mjs
@@ -23,6 +23,7 @@ class AESDecrypt extends Operation {
this.name = "AES Decrypt";
this.module = "Ciphers";
this.description = "Advanced Encryption Standard (AES) is a U.S. Federal Information Processing Standard (FIPS). It was selected after a 5-year process where 15 competing designs were evaluated.
Key: The following algorithms will be used based on the size of the key:
- 16 bytes = AES-128
- 24 bytes = AES-192
- 32 bytes = AES-256
IV: The Initialization Vector should be 16 bytes long. If not entered, it will default to 16 null bytes.
Padding: In CBC and ECB mode, PKCS#7 padding will be used.
GCM Tag: This field is ignored unless 'GCM' mode is used.";
+ this.infoURL = "https://wikipedia.org/wiki/Advanced_Encryption_Standard";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/AESEncrypt.mjs b/src/core/operations/AESEncrypt.mjs
index 98a4c259..5103cb86 100644
--- a/src/core/operations/AESEncrypt.mjs
+++ b/src/core/operations/AESEncrypt.mjs
@@ -23,6 +23,7 @@ class AESEncrypt extends Operation {
this.name = "AES Encrypt";
this.module = "Ciphers";
this.description = "Advanced Encryption Standard (AES) is a U.S. Federal Information Processing Standard (FIPS). It was selected after a 5-year process where 15 competing designs were evaluated.
Key: The following algorithms will be used based on the size of the key:- 16 bytes = AES-128
- 24 bytes = AES-192
- 32 bytes = AES-256
You can generate a password-based key using one of the KDF operations.
IV: The Initialization Vector should be 16 bytes long. If not entered, it will default to 16 null bytes.
Padding: In CBC and ECB mode, PKCS#7 padding will be used.";
+ this.infoURL = "https://wikipedia.org/wiki/Advanced_Encryption_Standard";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/AND.mjs b/src/core/operations/AND.mjs
index 30022ab9..68cddcfa 100644
--- a/src/core/operations/AND.mjs
+++ b/src/core/operations/AND.mjs
@@ -22,6 +22,7 @@ class AND extends Operation {
this.name = "AND";
this.module = "Default";
this.description = "AND the input with the given key.
e.g. fe023da5
";
+ this.infoURL = "https://wikipedia.org/wiki/Bitwise_operation#AND";
this.inputType = "byteArray";
this.outputType = "byteArray";
this.args = [
diff --git a/src/core/operations/Adler32Checksum.mjs b/src/core/operations/Adler32Checksum.mjs
index 3e8013bd..41584de6 100644
--- a/src/core/operations/Adler32Checksum.mjs
+++ b/src/core/operations/Adler32Checksum.mjs
@@ -21,6 +21,7 @@ class Adler32Checksum extends Operation {
this.name = "Adler-32 Checksum";
this.module = "Hashing";
this.description = "Adler-32 is a checksum algorithm which was invented by Mark Adler in 1995, and is a modification of the Fletcher checksum. Compared to a cyclic redundancy check of the same length, it trades reliability for speed (preferring the latter).
Adler-32 is more reliable than Fletcher-16, and slightly less reliable than Fletcher-32.";
+ this.infoURL = "https://wikipedia.org/wiki/Adler-32";
this.inputType = "byteArray";
this.outputType = "string";
this.args = [];
diff --git a/src/core/operations/AffineCipherDecode.mjs b/src/core/operations/AffineCipherDecode.mjs
index 3f65c150..173ccb8f 100644
--- a/src/core/operations/AffineCipherDecode.mjs
+++ b/src/core/operations/AffineCipherDecode.mjs
@@ -22,6 +22,7 @@ class AffineCipherDecode extends Operation {
this.name = "Affine Cipher Decode";
this.module = "Ciphers";
this.description = "The Affine cipher is a type of monoalphabetic substitution cipher. To decrypt, each letter in an alphabet is mapped to its numeric equivalent, decrypted by a mathematical function, and converted back to a letter.";
+ this.infoURL = "https://wikipedia.org/wiki/Affine_cipher";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/AffineCipherEncode.mjs b/src/core/operations/AffineCipherEncode.mjs
index e9aeec32..4adc64e3 100644
--- a/src/core/operations/AffineCipherEncode.mjs
+++ b/src/core/operations/AffineCipherEncode.mjs
@@ -21,6 +21,7 @@ class AffineCipherEncode extends Operation {
this.name = "Affine Cipher Encode";
this.module = "Ciphers";
this.description = "The Affine cipher is a type of monoalphabetic substitution cipher, wherein each letter in an alphabet is mapped to its numeric equivalent, encrypted using simple mathematical function, (ax + b) % 26
, and converted back to a letter.";
+ this.infoURL = "https://wikipedia.org/wiki/Affine_cipher";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/AnalyseHash.mjs b/src/core/operations/AnalyseHash.mjs
index e53b515e..cb719f77 100644
--- a/src/core/operations/AnalyseHash.mjs
+++ b/src/core/operations/AnalyseHash.mjs
@@ -21,6 +21,7 @@ class AnalyseHash extends Operation {
this.name = "Analyse hash";
this.module = "Hashing";
this.description = "Tries to determine information about a given hash and suggests which algorithm may have been used to generate it based on its length.";
+ this.infoURL = "https://wikipedia.org/wiki/Comparison_of_cryptographic_hash_functions";
this.inputType = "string";
this.outputType = "string";
this.args = [];
diff --git a/src/core/operations/AtbashCipher.mjs b/src/core/operations/AtbashCipher.mjs
index 9c4657ef..fc6bf909 100644
--- a/src/core/operations/AtbashCipher.mjs
+++ b/src/core/operations/AtbashCipher.mjs
@@ -21,6 +21,7 @@ class AtbashCipher extends Operation {
this.name = "Atbash Cipher";
this.module = "Ciphers";
this.description = "Atbash is a mono-alphabetic substitution cipher originally used to encode the Hebrew alphabet. It has been modified here for use with the Latin alphabet.";
+ this.infoURL = "https://wikipedia.org/wiki/Atbash";
this.inputType = "string";
this.outputType = "string";
this.args = [];
diff --git a/src/core/operations/BSONDeserialise.mjs b/src/core/operations/BSONDeserialise.mjs
index b0225569..4e66fc81 100644
--- a/src/core/operations/BSONDeserialise.mjs
+++ b/src/core/operations/BSONDeserialise.mjs
@@ -22,6 +22,7 @@ class BSONDeserialise extends Operation {
this.name = "BSON deserialise";
this.module = "BSON";
this.description = "BSON is a computer data interchange format used mainly as a data storage and network transfer format in the MongoDB database. It is a binary form for representing simple data structures, associative arrays (called objects or documents in MongoDB), and various data types of specific interest to MongoDB. The name 'BSON' is based on the term JSON and stands for 'Binary JSON'.
Input data should be in a raw bytes format.";
+ this.infoURL = "https://wikipedia.org/wiki/BSON";
this.inputType = "ArrayBuffer";
this.outputType = "string";
this.args = [];
diff --git a/src/core/operations/BSONSerialise.mjs b/src/core/operations/BSONSerialise.mjs
index a82296b3..ed4d067b 100644
--- a/src/core/operations/BSONSerialise.mjs
+++ b/src/core/operations/BSONSerialise.mjs
@@ -22,6 +22,7 @@ class BSONSerialise extends Operation {
this.name = "BSON serialise";
this.module = "BSON";
this.description = "BSON is a computer data interchange format used mainly as a data storage and network transfer format in the MongoDB database. It is a binary form for representing simple data structures, associative arrays (called objects or documents in MongoDB), and various data types of specific interest to MongoDB. The name 'BSON' is based on the term JSON and stands for 'Binary JSON'.
Input data should be valid JSON.";
+ this.infoURL = "https://wikipedia.org/wiki/BSON";
this.inputType = "string";
this.outputType = "ArrayBuffer";
this.args = [];
diff --git a/src/core/operations/Bcrypt.mjs b/src/core/operations/Bcrypt.mjs
index cccf4131..fafd4e26 100644
--- a/src/core/operations/Bcrypt.mjs
+++ b/src/core/operations/Bcrypt.mjs
@@ -21,6 +21,7 @@ class Bcrypt extends Operation {
this.name = "Bcrypt";
this.module = "Hashing";
this.description = "bcrypt is a password hashing function designed by Niels Provos and David Mazi\xe8res, based on the Blowfish cipher, and presented at USENIX in 1999. Besides incorporating a salt to protect against rainbow table attacks, bcrypt is an adaptive function: over time, the iteration count (rounds) can be increased to make it slower, so it remains resistant to brute-force search attacks even with increasing computation power.
Enter the password in the input to generate its hash.";
+ this.infoURL = "https://wikipedia.org/wiki/Bcrypt";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/BcryptCompare.mjs b/src/core/operations/BcryptCompare.mjs
index 32f275b5..f3edb2d9 100644
--- a/src/core/operations/BcryptCompare.mjs
+++ b/src/core/operations/BcryptCompare.mjs
@@ -21,6 +21,7 @@ class BcryptCompare extends Operation {
this.name = "Bcrypt compare";
this.module = "Hashing";
this.description = "Tests whether the input matches the given bcrypt hash. To test multiple possible passwords, use the 'Fork' operation.";
+ this.infoURL = "https://wikipedia.org/wiki/Bcrypt";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/BcryptParse.mjs b/src/core/operations/BcryptParse.mjs
index 149bdaa0..fdd907b9 100644
--- a/src/core/operations/BcryptParse.mjs
+++ b/src/core/operations/BcryptParse.mjs
@@ -22,6 +22,7 @@ class BcryptParse extends Operation {
this.name = "Bcrypt parse";
this.module = "Hashing";
this.description = "Parses a bcrypt hash to determine the number of rounds used, the salt, and the password hash.";
+ this.infoURL = "https://wikipedia.org/wiki/Bcrypt";
this.inputType = "string";
this.outputType = "string";
this.args = [];
diff --git a/src/core/operations/BifidCipherDecode.mjs b/src/core/operations/BifidCipherDecode.mjs
index f5e2ad47..b55d2e26 100644
--- a/src/core/operations/BifidCipherDecode.mjs
+++ b/src/core/operations/BifidCipherDecode.mjs
@@ -22,6 +22,7 @@ class BifidCipherDecode extends Operation {
this.name = "Bifid Cipher Decode";
this.module = "Ciphers";
this.description = "The Bifid cipher is a cipher which uses a Polybius square in conjunction with transposition, which can be fairly difficult to decipher without knowing the alphabet keyword.";
+ this.infoURL = "https://wikipedia.org/wiki/Bifid_cipher";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/BifidCipherEncode.mjs b/src/core/operations/BifidCipherEncode.mjs
index 41c29db0..2db6279c 100644
--- a/src/core/operations/BifidCipherEncode.mjs
+++ b/src/core/operations/BifidCipherEncode.mjs
@@ -22,6 +22,7 @@ class BifidCipherEncode extends Operation {
this.name = "Bifid Cipher Encode";
this.module = "Ciphers";
this.description = "The Bifid cipher is a cipher which uses a Polybius square in conjunction with transposition, which can be fairly difficult to decipher without knowing the alphabet keyword.";
+ this.infoURL = "https://wikipedia.org/wiki/Bifid_cipher";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/BitShiftLeft.mjs b/src/core/operations/BitShiftLeft.mjs
index 59c740f2..ceb19350 100644
--- a/src/core/operations/BitShiftLeft.mjs
+++ b/src/core/operations/BitShiftLeft.mjs
@@ -20,6 +20,7 @@ class BitShiftLeft extends Operation {
this.name = "Bit shift left";
this.module = "Default";
this.description = "Shifts the bits in each byte towards the left by the specified amount.";
+ this.infoURL = "https://wikipedia.org/wiki/Bitwise_operation#Bit_shifts";
this.inputType = "byteArray";
this.outputType = "byteArray";
this.args = [
diff --git a/src/core/operations/BitShiftRight.mjs b/src/core/operations/BitShiftRight.mjs
index 8207f353..c6e4698f 100644
--- a/src/core/operations/BitShiftRight.mjs
+++ b/src/core/operations/BitShiftRight.mjs
@@ -20,6 +20,7 @@ class BitShiftRight extends Operation {
this.name = "Bit shift right";
this.module = "Default";
this.description = "Shifts the bits in each byte towards the right by the specified amount.
Logical shifts replace the leftmost bits with zeros.
Arithmetic shifts preserve the most significant bit (MSB) of the original byte keeping the sign the same (positive or negative).";
+ this.infoURL = "https://wikipedia.org/wiki/Bitwise_operation#Bit_shifts";
this.inputType = "byteArray";
this.outputType = "byteArray";
this.args = [
diff --git a/src/core/operations/BlowfishDecrypt.mjs b/src/core/operations/BlowfishDecrypt.mjs
index d349d3c4..4aa08af8 100644
--- a/src/core/operations/BlowfishDecrypt.mjs
+++ b/src/core/operations/BlowfishDecrypt.mjs
@@ -38,6 +38,7 @@ class BlowfishDecrypt extends Operation {
this.name = "Blowfish Decrypt";
this.module = "Ciphers";
this.description = "Blowfish is a symmetric-key block cipher designed in 1993 by Bruce Schneier and included in a large number of cipher suites and encryption products. AES now receives more attention.
IV: The Initialization Vector should be 8 bytes long. If not entered, it will default to 8 null bytes.";
+ this.infoURL = "https://wikipedia.org/wiki/Blowfish_(cipher)";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/BlowfishEncrypt.mjs b/src/core/operations/BlowfishEncrypt.mjs
index 60c45560..813c359c 100644
--- a/src/core/operations/BlowfishEncrypt.mjs
+++ b/src/core/operations/BlowfishEncrypt.mjs
@@ -39,6 +39,7 @@ class BlowfishEncrypt extends Operation {
this.name = "Blowfish Encrypt";
this.module = "Ciphers";
this.description = "Blowfish is a symmetric-key block cipher designed in 1993 by Bruce Schneier and included in a large number of cipher suites and encryption products. AES now receives more attention.
IV: The Initialization Vector should be 8 bytes long. If not entered, it will default to 8 null bytes.";
+ this.infoURL = "https://wikipedia.org/wiki/Blowfish_(cipher)";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/Bzip2Decompress.mjs b/src/core/operations/Bzip2Decompress.mjs
index e31b3d2c..090a02bc 100644
--- a/src/core/operations/Bzip2Decompress.mjs
+++ b/src/core/operations/Bzip2Decompress.mjs
@@ -22,6 +22,7 @@ class Bzip2Decompress extends Operation {
this.name = "Bzip2 Decompress";
this.module = "Compression";
this.description = "Decompresses data using the Bzip2 algorithm.";
+ this.infoURL = "https://wikipedia.org/wiki/Bzip2";
this.inputType = "byteArray";
this.outputType = "string";
this.args = [];
diff --git a/src/core/operations/CRC16Checksum.mjs b/src/core/operations/CRC16Checksum.mjs
index c4c5d633..f0692f24 100644
--- a/src/core/operations/CRC16Checksum.mjs
+++ b/src/core/operations/CRC16Checksum.mjs
@@ -21,6 +21,7 @@ class CRC16Checksum extends Operation {
this.name = "CRC-16 Checksum";
this.module = "Hashing";
this.description = "A cyclic redundancy check (CRC) is an error-detecting code commonly used in digital networks and storage devices to detect accidental changes to raw data.
The CRC was invented by W. Wesley Peterson in 1961.";
+ this.infoURL = "https://wikipedia.org/wiki/Cyclic_redundancy_check";
this.inputType = "ArrayBuffer";
this.outputType = "string";
this.args = [];
diff --git a/src/core/operations/CRC32Checksum.mjs b/src/core/operations/CRC32Checksum.mjs
index 5982273e..b4e85799 100644
--- a/src/core/operations/CRC32Checksum.mjs
+++ b/src/core/operations/CRC32Checksum.mjs
@@ -21,6 +21,7 @@ class CRC32Checksum extends Operation {
this.name = "CRC-32 Checksum";
this.module = "Hashing";
this.description = "A cyclic redundancy check (CRC) is an error-detecting code commonly used in digital networks and storage devices to detect accidental changes to raw data.
The CRC was invented by W. Wesley Peterson in 1961; the 32-bit CRC function of Ethernet and many other standards is the work of several researchers and was published in 1975.";
+ this.infoURL = "https://wikipedia.org/wiki/Cyclic_redundancy_check";
this.inputType = "ArrayBuffer";
this.outputType = "string";
this.args = [];
diff --git a/src/core/operations/CSSSelector.mjs b/src/core/operations/CSSSelector.mjs
index b91178cb..c26d3142 100644
--- a/src/core/operations/CSSSelector.mjs
+++ b/src/core/operations/CSSSelector.mjs
@@ -23,6 +23,7 @@ class CSSSelector extends Operation {
this.name = "CSS selector";
this.module = "Code";
this.description = "Extract information from an HTML document with a CSS selector";
+ this.infoURL = "https://wikipedia.org/wiki/Cascading_Style_Sheets#Selector";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/CTPH.mjs b/src/core/operations/CTPH.mjs
index 39f52af4..3597cd55 100644
--- a/src/core/operations/CTPH.mjs
+++ b/src/core/operations/CTPH.mjs
@@ -21,6 +21,7 @@ class CTPH extends Operation {
this.name = "CTPH";
this.module = "Hashing";
this.description = "Context Triggered Piecewise Hashing, also called Fuzzy Hashing, can match inputs that have homologies. Such inputs have sequences of identical bytes in the same order, although bytes in between these sequences may be different in both content and length.
CTPH was originally based on the work of Dr. Andrew Tridgell and a spam email detector called SpamSum. This method was adapted by Jesse Kornblum and published at the DFRWS conference in 2006 in a paper 'Identifying Almost Identical Files Using Context Triggered Piecewise Hashing'.";
+ this.infoURL = "https://forensicswiki.org/wiki/Context_Triggered_Piecewise_Hashing";
this.inputType = "string";
this.outputType = "string";
this.args = [];
diff --git a/src/core/operations/CartesianProduct.mjs b/src/core/operations/CartesianProduct.mjs
index 0d5346fb..cd32c72f 100644
--- a/src/core/operations/CartesianProduct.mjs
+++ b/src/core/operations/CartesianProduct.mjs
@@ -21,6 +21,7 @@ class CartesianProduct extends Operation {
this.name = "Cartesian Product";
this.module = "Default";
this.description = "Calculates the cartesian product of multiple sets of data, returning all possible combinations.";
+ this.infoURL = "https://wikipedia.org/wiki/Cartesian_product";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/ChiSquare.mjs b/src/core/operations/ChiSquare.mjs
index 89cb2214..5681abc8 100644
--- a/src/core/operations/ChiSquare.mjs
+++ b/src/core/operations/ChiSquare.mjs
@@ -20,6 +20,7 @@ class ChiSquare extends Operation {
this.name = "Chi Square";
this.module = "Default";
this.description = "Calculates the Chi Square distribution of values.";
+ this.infoURL = "https://wikipedia.org/wiki/Chi-squared_distribution";
this.inputType = "ArrayBuffer";
this.outputType = "number";
this.args = [];
diff --git a/src/core/operations/CompareCTPHHashes.mjs b/src/core/operations/CompareCTPHHashes.mjs
index 7194d89f..acae6b42 100644
--- a/src/core/operations/CompareCTPHHashes.mjs
+++ b/src/core/operations/CompareCTPHHashes.mjs
@@ -24,6 +24,7 @@ class CompareCTPHHashes extends Operation {
this.name = "Compare CTPH hashes";
this.module = "Hashing";
this.description = "Compares two Context Triggered Piecewise Hashing (CTPH) fuzzy hashes to determine the similarity between them on a scale of 0 to 100.";
+ this.infoURL = "https://forensicswiki.org/wiki/Context_Triggered_Piecewise_Hashing";
this.inputType = "string";
this.outputType = "Number";
this.args = [
diff --git a/src/core/operations/CompareSSDEEPHashes.mjs b/src/core/operations/CompareSSDEEPHashes.mjs
index aa39d5cf..fdd38210 100644
--- a/src/core/operations/CompareSSDEEPHashes.mjs
+++ b/src/core/operations/CompareSSDEEPHashes.mjs
@@ -24,6 +24,7 @@ class CompareSSDEEPHashes extends Operation {
this.name = "Compare SSDEEP hashes";
this.module = "Hashing";
this.description = "Compares two SSDEEP fuzzy hashes to determine the similarity between them on a scale of 0 to 100.";
+ this.infoURL = "https://forensicswiki.org/wiki/Ssdeep";
this.inputType = "string";
this.outputType = "Number";
this.args = [
diff --git a/src/core/operations/ConvertArea.mjs b/src/core/operations/ConvertArea.mjs
index dd88f52e..1c4a80c3 100644
--- a/src/core/operations/ConvertArea.mjs
+++ b/src/core/operations/ConvertArea.mjs
@@ -20,6 +20,7 @@ class ConvertArea extends Operation {
this.name = "Convert area";
this.module = "Default";
this.description = "Converts a unit of area to another format.";
+ this.infoURL = "https://wikipedia.org/wiki/Orders_of_magnitude_(area)";
this.inputType = "BigNumber";
this.outputType = "BigNumber";
this.args = [
diff --git a/src/core/operations/ConvertDataUnits.mjs b/src/core/operations/ConvertDataUnits.mjs
index dc22e351..c35bd6fe 100644
--- a/src/core/operations/ConvertDataUnits.mjs
+++ b/src/core/operations/ConvertDataUnits.mjs
@@ -20,6 +20,7 @@ class ConvertDataUnits extends Operation {
this.name = "Convert data units";
this.module = "Default";
this.description = "Converts a unit of data to another format.";
+ this.infoURL = "https://wikipedia.org/wiki/Orders_of_magnitude_(data)";
this.inputType = "BigNumber";
this.outputType = "BigNumber";
this.args = [
diff --git a/src/core/operations/ConvertDistance.mjs b/src/core/operations/ConvertDistance.mjs
index 278a1c6d..1151abc6 100644
--- a/src/core/operations/ConvertDistance.mjs
+++ b/src/core/operations/ConvertDistance.mjs
@@ -20,6 +20,7 @@ class ConvertDistance extends Operation {
this.name = "Convert distance";
this.module = "Default";
this.description = "Converts a unit of distance to another format.";
+ this.infoURL = "https://wikipedia.org/wiki/Orders_of_magnitude_(length)";
this.inputType = "BigNumber";
this.outputType = "BigNumber";
this.args = [
diff --git a/src/core/operations/ConvertMass.mjs b/src/core/operations/ConvertMass.mjs
index 18c0c84a..3373aa57 100644
--- a/src/core/operations/ConvertMass.mjs
+++ b/src/core/operations/ConvertMass.mjs
@@ -20,6 +20,7 @@ class ConvertMass extends Operation {
this.name = "Convert mass";
this.module = "Default";
this.description = "Converts a unit of mass to another format.";
+ this.infoURL = "https://wikipedia.org/wiki/Orders_of_magnitude_(mass)";
this.inputType = "BigNumber";
this.outputType = "BigNumber";
this.args = [
diff --git a/src/core/operations/ConvertSpeed.mjs b/src/core/operations/ConvertSpeed.mjs
index 71c43a54..ec92ad95 100644
--- a/src/core/operations/ConvertSpeed.mjs
+++ b/src/core/operations/ConvertSpeed.mjs
@@ -20,6 +20,7 @@ class ConvertSpeed extends Operation {
this.name = "Convert speed";
this.module = "Default";
this.description = "Converts a unit of speed to another format.";
+ this.infoURL = "https://wikipedia.org/wiki/Orders_of_magnitude_(speed)";
this.inputType = "BigNumber";
this.outputType = "BigNumber";
this.args = [
diff --git a/src/core/operations/DESDecrypt.mjs b/src/core/operations/DESDecrypt.mjs
index b1d0d8c7..620256c7 100644
--- a/src/core/operations/DESDecrypt.mjs
+++ b/src/core/operations/DESDecrypt.mjs
@@ -23,6 +23,7 @@ class DESDecrypt extends Operation {
this.name = "DES Decrypt";
this.module = "Ciphers";
this.description = "DES is a previously dominant algorithm for encryption, and was published as an official U.S. Federal Information Processing Standard (FIPS). It is now considered to be insecure due to its small key size.
Key: DES uses a key length of 8 bytes (64 bits).
Triple DES uses a key length of 24 bytes (192 bits).
IV: The Initialization Vector should be 8 bytes long. If not entered, it will default to 8 null bytes.
Padding: In CBC and ECB mode, PKCS#7 padding will be used.";
+ this.infoURL = "https://wikipedia.org/wiki/Data_Encryption_Standard";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/DESEncrypt.mjs b/src/core/operations/DESEncrypt.mjs
index 17a2abcf..774be674 100644
--- a/src/core/operations/DESEncrypt.mjs
+++ b/src/core/operations/DESEncrypt.mjs
@@ -23,6 +23,7 @@ class DESEncrypt extends Operation {
this.name = "DES Encrypt";
this.module = "Ciphers";
this.description = "DES is a previously dominant algorithm for encryption, and was published as an official U.S. Federal Information Processing Standard (FIPS). It is now considered to be insecure due to its small key size.
Key: DES uses a key length of 8 bytes (64 bits).
Triple DES uses a key length of 24 bytes (192 bits).
You can generate a password-based key using one of the KDF operations.
IV: The Initialization Vector should be 8 bytes long. If not entered, it will default to 8 null bytes.
Padding: In CBC and ECB mode, PKCS#7 padding will be used.";
+ this.infoURL = "https://wikipedia.org/wiki/Data_Encryption_Standard";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/DechunkHTTPResponse.mjs b/src/core/operations/DechunkHTTPResponse.mjs
index f0e2342e..61af035e 100644
--- a/src/core/operations/DechunkHTTPResponse.mjs
+++ b/src/core/operations/DechunkHTTPResponse.mjs
@@ -20,6 +20,7 @@ class DechunkHTTPResponse extends Operation {
this.name = "Dechunk HTTP response";
this.module = "Default";
this.description = "Parses an HTTP response transferred using Transfer-Encoding: Chunked";
+ this.infoURL = "https://wikipedia.org/wiki/Chunked_transfer_encoding";
this.inputType = "string";
this.outputType = "string";
this.args = [];
diff --git a/src/core/operations/DecodeNetBIOSName.mjs b/src/core/operations/DecodeNetBIOSName.mjs
index 19624889..bbfe2b6e 100644
--- a/src/core/operations/DecodeNetBIOSName.mjs
+++ b/src/core/operations/DecodeNetBIOSName.mjs
@@ -20,6 +20,7 @@ class DecodeNetBIOSName extends Operation {
this.name = "Decode NetBIOS Name";
this.module = "Default";
this.description = "NetBIOS names as seen across the client interface to NetBIOS are exactly 16 bytes long. Within the NetBIOS-over-TCP protocols, a longer representation is used.
There are two levels of encoding. The first level maps a NetBIOS name into a domain system name. The second level maps the domain system name into the 'compressed' representation required for interaction with the domain name system.
This operation decodes the first level of encoding. See RFC 1001 for full details.";
+ this.infoURL = "https://wikipedia.org/wiki/NetBIOS";
this.inputType = "byteArray";
this.outputType = "byteArray";
this.args = [
diff --git a/src/core/operations/DecodeText.mjs b/src/core/operations/DecodeText.mjs
index 9e51199f..e7a4f188 100644
--- a/src/core/operations/DecodeText.mjs
+++ b/src/core/operations/DecodeText.mjs
@@ -29,6 +29,7 @@ class DecodeText extends Operation {
Object.keys(IO_FORMAT).map(e => `${e}`).join("\n"),
"",
].join("\n");
+ this.infoURL = "https://wikipedia.org/wiki/Character_encoding";
this.inputType = "byteArray";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/DeriveEVPKey.mjs b/src/core/operations/DeriveEVPKey.mjs
index ad17f0b1..a14d2249 100644
--- a/src/core/operations/DeriveEVPKey.mjs
+++ b/src/core/operations/DeriveEVPKey.mjs
@@ -21,7 +21,8 @@ class DeriveEVPKey extends Operation {
this.name = "Derive EVP key";
this.module = "Ciphers";
- this.description = "EVP is a password-based key derivation function (PBKDF) used extensively in OpenSSL. In many applications of cryptography, user security is ultimately dependent on a password, and because a password usually can't be used directly as a cryptographic key, some processing is required.
A salt provides a large set of keys for any given password, and an iteration count increases the cost of producing keys from a password, thereby also increasing the difficulty of attack.
If you leave the salt argument empty, a random salt will be generated.";
+ this.description = "This operation performs a password-based key derivation function (PBKDF) used extensively in OpenSSL. In many applications of cryptography, user security is ultimately dependent on a password, and because a password usually can't be used directly as a cryptographic key, some processing is required.
A salt provides a large set of keys for any given password, and an iteration count increases the cost of producing keys from a password, thereby also increasing the difficulty of attack.
If you leave the salt argument empty, a random salt will be generated.";
+ this.infoURL = "https://wikipedia.org/wiki/Key_derivation_function";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/DerivePBKDF2Key.mjs b/src/core/operations/DerivePBKDF2Key.mjs
index d3f7fe9a..53fedb4d 100644
--- a/src/core/operations/DerivePBKDF2Key.mjs
+++ b/src/core/operations/DerivePBKDF2Key.mjs
@@ -22,6 +22,7 @@ class DerivePBKDF2Key extends Operation {
this.name = "Derive PBKDF2 key";
this.module = "Ciphers";
this.description = "PBKDF2 is a password-based key derivation function. It is part of RSA Laboratories' Public-Key Cryptography Standards (PKCS) series, specifically PKCS #5 v2.0, also published as Internet Engineering Task Force's RFC 2898.
In many applications of cryptography, user security is ultimately dependent on a password, and because a password usually can't be used directly as a cryptographic key, some processing is required.
A salt provides a large set of keys for any given password, and an iteration count increases the cost of producing keys from a password, thereby also increasing the difficulty of attack.
If you leave the salt argument empty, a random salt will be generated.";
+ this.infoURL = "https://wikipedia.org/wiki/PBKDF2";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/DetectFileType.mjs b/src/core/operations/DetectFileType.mjs
index ddf9a2de..1d6897a0 100644
--- a/src/core/operations/DetectFileType.mjs
+++ b/src/core/operations/DetectFileType.mjs
@@ -21,6 +21,7 @@ class DetectFileType extends Operation {
this.name = "Detect File Type";
this.module = "Default";
this.description = "Attempts to guess the MIME (Multipurpose Internet Mail Extensions) type of the data based on 'magic bytes'.
Currently supports the following file types: 7z, amr, avi, bmp, bz2, class, cr2, crx, dex, dmg, doc, elf, eot, epub, exe, flac, flv, gif, gz, ico, iso, jpg, jxr, m4a, m4v, mid, mkv, mov, mp3, mp4, mpg, ogg, otf, pdf, png, ppt, ps, psd, rar, rtf, sqlite, swf, tar, tar.z, tif, ttf, utf8, vmdk, wav, webm, webp, wmv, woff, woff2, xls, xz, zip.";
+ this.infoURL = "https://wikipedia.org/wiki/List_of_file_signatures";
this.inputType = "ArrayBuffer";
this.outputType = "string";
this.args = [];
diff --git a/src/core/operations/Diff.mjs b/src/core/operations/Diff.mjs
index 1fd6e5d8..9e094e99 100644
--- a/src/core/operations/Diff.mjs
+++ b/src/core/operations/Diff.mjs
@@ -23,6 +23,7 @@ class Diff extends Operation {
this.name = "Diff";
this.module = "Diff";
this.description = "Compares two inputs (separated by the specified delimiter) and highlights the differences between them.";
+ this.infoURL = "https://wikipedia.org/wiki/File_comparison";
this.inputType = "string";
this.outputType = "html";
this.args = [
diff --git a/src/core/operations/DisassembleX86.mjs b/src/core/operations/DisassembleX86.mjs
index c64039bb..b25dcb48 100644
--- a/src/core/operations/DisassembleX86.mjs
+++ b/src/core/operations/DisassembleX86.mjs
@@ -22,6 +22,7 @@ class DisassembleX86 extends Operation {
this.name = "Disassemble x86";
this.module = "Shellcode";
this.description = "Disassembly is the process of translating machine language into assembly language.
This operation supports 64-bit, 32-bit and 16-bit code written for Intel or AMD x86 processors. It is particularly useful for reverse engineering shellcode.
Input should be in hexadecimal.";
+ this.infoURL = "https://wikipedia.org/wiki/X86";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/EncodeNetBIOSName.mjs b/src/core/operations/EncodeNetBIOSName.mjs
index 608f4bfd..9352ed4f 100644
--- a/src/core/operations/EncodeNetBIOSName.mjs
+++ b/src/core/operations/EncodeNetBIOSName.mjs
@@ -20,6 +20,7 @@ class EncodeNetBIOSName extends Operation {
this.name = "Encode NetBIOS Name";
this.module = "Default";
this.description = "NetBIOS names as seen across the client interface to NetBIOS are exactly 16 bytes long. Within the NetBIOS-over-TCP protocols, a longer representation is used.
There are two levels of encoding. The first level maps a NetBIOS name into a domain system name. The second level maps the domain system name into the 'compressed' representation required for interaction with the domain name system.
This operation carries out the first level of encoding. See RFC 1001 for full details.";
+ this.infoURL = "https://wikipedia.org/wiki/NetBIOS";
this.inputType = "byteArray";
this.outputType = "byteArray";
this.args = [
diff --git a/src/core/operations/EncodeText.mjs b/src/core/operations/EncodeText.mjs
index 6786be56..f634c3d9 100644
--- a/src/core/operations/EncodeText.mjs
+++ b/src/core/operations/EncodeText.mjs
@@ -29,6 +29,7 @@ class EncodeText extends Operation {
Object.keys(IO_FORMAT).map(e => `${e}`).join("\n"),
"",
].join("\n");
+ this.infoURL = "https://wikipedia.org/wiki/Character_encoding";
this.inputType = "string";
this.outputType = "byteArray";
this.args = [
diff --git a/src/core/operations/Entropy.mjs b/src/core/operations/Entropy.mjs
index 2f12d40f..868178fc 100644
--- a/src/core/operations/Entropy.mjs
+++ b/src/core/operations/Entropy.mjs
@@ -21,6 +21,7 @@ class Entropy extends Operation {
this.name = "Entropy";
this.module = "Default";
this.description = "Shannon Entropy, in the context of information theory, is a measure of the rate at which information is produced by a source of data. It can be used, in a broad sense, to detect whether data is likely to be structured or unstructured. 8 is the maximum, representing highly unstructured, 'random' data. English language text usually falls somewhere between 3.5 and 5. Properly encrypted or compressed data should have an entropy of over 7.5.";
+ this.infoURL = "https://wikipedia.org/wiki/Entropy_(information_theory)";
this.inputType = "byteArray";
this.outputType = "number";
this.presentType = "html";
diff --git a/src/core/operations/EscapeString.mjs b/src/core/operations/EscapeString.mjs
index 9e0d5172..2d945e24 100644
--- a/src/core/operations/EscapeString.mjs
+++ b/src/core/operations/EscapeString.mjs
@@ -22,6 +22,7 @@ class EscapeString extends Operation {
this.name = "Escape string";
this.module = "Default";
this.description = "Escapes special characters in a string so that they do not cause conflicts. For example, Don't stop me now
becomes Don\\'t stop me now
.
Supports the following escape sequences:\\n
(Line feed/newline)\\r
(Carriage return)\\t
(Horizontal tab)\\b
(Backspace)\\f
(Form feed)\\xnn
(Hex, where n is 0-f)\\\\
(Backslash)\\'
(Single quote)\\"
(Double quote)\\unnnn
(Unicode character)\\u{nnnnnn}
(Unicode code point)
";
+ this.infoURL = "https://wikipedia.org/wiki/Escape_sequence";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/ExtractEXIF.mjs b/src/core/operations/ExtractEXIF.mjs
index 533fdd63..7a96d24a 100644
--- a/src/core/operations/ExtractEXIF.mjs
+++ b/src/core/operations/ExtractEXIF.mjs
@@ -28,6 +28,7 @@ class ExtractEXIF extends Operation {
"
",
"EXIF data from photos usually contains information about the image file itself as well as the device used to create it.",
].join("\n");
+ this.infoURL = "https://wikipedia.org/wiki/Exif";
this.inputType = "ArrayBuffer";
this.outputType = "string";
this.args = [];
diff --git a/src/core/operations/FindReplace.mjs b/src/core/operations/FindReplace.mjs
index 5a971704..62faf2cb 100644
--- a/src/core/operations/FindReplace.mjs
+++ b/src/core/operations/FindReplace.mjs
@@ -21,6 +21,7 @@ class FindReplace extends Operation {
this.name = "Find / Replace";
this.module = "Regex";
this.description = "Replaces all occurrences of the first string with the second.
Includes support for regular expressions (regex), simple strings and extended strings (which support \\n, \\r, \\t, \\b, \\f and escaped hex bytes using \\x notation, e.g. \\x00 for a null byte).";
+ this.infoURL = "https://wikipedia.org/wiki/Regular_expression";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/Fletcher16Checksum.mjs b/src/core/operations/Fletcher16Checksum.mjs
index ea3fe791..ff760282 100644
--- a/src/core/operations/Fletcher16Checksum.mjs
+++ b/src/core/operations/Fletcher16Checksum.mjs
@@ -21,6 +21,7 @@ class Fletcher16Checksum extends Operation {
this.name = "Fletcher-16 Checksum";
this.module = "Hashing";
this.description = "The Fletcher checksum is an algorithm for computing a position-dependent checksum devised by John Gould Fletcher at Lawrence Livermore Labs in the late 1970s.
The objective of the Fletcher checksum was to provide error-detection properties approaching those of a cyclic redundancy check but with the lower computational effort associated with summation techniques.";
+ this.infoURL = "https://wikipedia.org/wiki/Fletcher%27s_checksum#Fletcher-16";
this.inputType = "byteArray";
this.outputType = "string";
this.args = [];
diff --git a/src/core/operations/Fletcher32Checksum.mjs b/src/core/operations/Fletcher32Checksum.mjs
index 21c9449e..5a3ad55b 100644
--- a/src/core/operations/Fletcher32Checksum.mjs
+++ b/src/core/operations/Fletcher32Checksum.mjs
@@ -21,6 +21,7 @@ class Fletcher32Checksum extends Operation {
this.name = "Fletcher-32 Checksum";
this.module = "Hashing";
this.description = "The Fletcher checksum is an algorithm for computing a position-dependent checksum devised by John Gould Fletcher at Lawrence Livermore Labs in the late 1970s.
The objective of the Fletcher checksum was to provide error-detection properties approaching those of a cyclic redundancy check but with the lower computational effort associated with summation techniques.";
+ this.infoURL = "https://wikipedia.org/wiki/Fletcher%27s_checksum#Fletcher-32";
this.inputType = "byteArray";
this.outputType = "string";
this.args = [];
diff --git a/src/core/operations/Fletcher64Checksum.mjs b/src/core/operations/Fletcher64Checksum.mjs
index ac88a26f..2f60b4f3 100644
--- a/src/core/operations/Fletcher64Checksum.mjs
+++ b/src/core/operations/Fletcher64Checksum.mjs
@@ -21,6 +21,7 @@ class Fletcher64Checksum extends Operation {
this.name = "Fletcher-64 Checksum";
this.module = "Hashing";
this.description = "The Fletcher checksum is an algorithm for computing a position-dependent checksum devised by John Gould Fletcher at Lawrence Livermore Labs in the late 1970s.
The objective of the Fletcher checksum was to provide error-detection properties approaching those of a cyclic redundancy check but with the lower computational effort associated with summation techniques.";
+ this.infoURL = "https://wikipedia.org/wiki/Fletcher%27s_checksum#Fletcher-64";
this.inputType = "byteArray";
this.outputType = "string";
this.args = [];
diff --git a/src/core/operations/Fletcher8Checksum.mjs b/src/core/operations/Fletcher8Checksum.mjs
index 99199449..6cc538e2 100644
--- a/src/core/operations/Fletcher8Checksum.mjs
+++ b/src/core/operations/Fletcher8Checksum.mjs
@@ -21,6 +21,7 @@ class Fletcher8Checksum extends Operation {
this.name = "Fletcher-8 Checksum";
this.module = "Hashing";
this.description = "The Fletcher checksum is an algorithm for computing a position-dependent checksum devised by John Gould Fletcher at Lawrence Livermore Labs in the late 1970s.
The objective of the Fletcher checksum was to provide error-detection properties approaching those of a cyclic redundancy check but with the lower computational effort associated with summation techniques.";
+ this.infoURL = "https://wikipedia.org/wiki/Fletcher%27s_checksum";
this.inputType = "byteArray";
this.outputType = "string";
this.args = [];
diff --git a/src/core/operations/FormatMACAddresses.mjs b/src/core/operations/FormatMACAddresses.mjs
index b10fc15c..1002877d 100644
--- a/src/core/operations/FormatMACAddresses.mjs
+++ b/src/core/operations/FormatMACAddresses.mjs
@@ -20,6 +20,7 @@ class FormatMACAddresses extends Operation {
this.name = "Format MAC addresses";
this.module = "Default";
this.description = "Displays given MAC addresses in multiple different formats.
Expects addresses in a list separated by newlines, spaces or commas.
WARNING: There are no validity checks.";
+ this.infoURL = "https://wikipedia.org/wiki/MAC_address#Notational_conventions";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/FrequencyDistribution.mjs b/src/core/operations/FrequencyDistribution.mjs
index bf82f1d4..13eb53e1 100644
--- a/src/core/operations/FrequencyDistribution.mjs
+++ b/src/core/operations/FrequencyDistribution.mjs
@@ -22,6 +22,7 @@ class FrequencyDistribution extends Operation {
this.name = "Frequency distribution";
this.module = "Default";
this.description = "Displays the distribution of bytes in the data as a graph.";
+ this.infoURL = "https://wikipedia.org/wiki/Frequency_distribution";
this.inputType = "ArrayBuffer";
this.outputType = "json";
this.presentType = "html";
diff --git a/src/core/operations/FromBCD.mjs b/src/core/operations/FromBCD.mjs
index a33d739b..a87c1101 100644
--- a/src/core/operations/FromBCD.mjs
+++ b/src/core/operations/FromBCD.mjs
@@ -24,6 +24,7 @@ class FromBCD extends Operation {
this.name = "From BCD";
this.module = "Default";
this.description = "Binary-Coded Decimal (BCD) is a class of binary encodings of decimal numbers where each decimal digit is represented by a fixed number of bits, usually four or eight. Special bit patterns are sometimes used for a sign.";
+ this.infoURL = "https://wikipedia.org/wiki/Binary-coded_decimal";
this.inputType = "string";
this.outputType = "BigNumber";
this.args = [
diff --git a/src/core/operations/FromBase.mjs b/src/core/operations/FromBase.mjs
index 4d4ca9ff..a44eaf60 100644
--- a/src/core/operations/FromBase.mjs
+++ b/src/core/operations/FromBase.mjs
@@ -22,6 +22,7 @@ class FromBase extends Operation {
this.name = "From Base";
this.module = "Default";
this.description = "Converts a number to decimal from a given numerical base.";
+ this.infoURL = "https://wikipedia.org/wiki/Radix";
this.inputType = "string";
this.outputType = "BigNumber";
this.args = [
diff --git a/src/core/operations/FromBase32.mjs b/src/core/operations/FromBase32.mjs
index c49d9546..3518ec5f 100644
--- a/src/core/operations/FromBase32.mjs
+++ b/src/core/operations/FromBase32.mjs
@@ -21,6 +21,7 @@ class FromBase32 extends Operation {
this.name = "From Base32";
this.module = "Default";
this.description = "Base32 is a notation for encoding arbitrary byte data using a restricted set of symbols that can be conveniently used by humans and processed by computers. It uses a smaller set of characters than Base64, usually the uppercase alphabet and the numbers 2 to 7.";
+ this.infoURL = "https://wikipedia.org/wiki/Base32";
this.inputType = "string";
this.outputType = "byteArray";
this.args = [
diff --git a/src/core/operations/FromBase58.mjs b/src/core/operations/FromBase58.mjs
index 58fcab9b..1e70aa5b 100644
--- a/src/core/operations/FromBase58.mjs
+++ b/src/core/operations/FromBase58.mjs
@@ -23,6 +23,7 @@ class FromBase58 extends Operation {
this.name = "From Base58";
this.module = "Default";
this.description = "Base58 (similar to Base64) is a notation for encoding arbitrary byte data. It differs from Base64 by removing easily misread characters (i.e. l, I, 0 and O) to improve human readability.
This operation decodes data from an ASCII string (with an alphabet of your choosing, presets included) back into its raw form.
e.g. StV1DL6CwTryKyV
becomes hello world
Base58 is commonly used in cryptocurrencies (Bitcoin, Ripple, etc).";
+ this.infoURL = "https://wikipedia.org/wiki/Base58";
this.inputType = "string";
this.outputType = "byteArray";
this.args = [
diff --git a/src/core/operations/FromBase64.mjs b/src/core/operations/FromBase64.mjs
index 34d6c6f6..117faa2b 100644
--- a/src/core/operations/FromBase64.mjs
+++ b/src/core/operations/FromBase64.mjs
@@ -21,6 +21,7 @@ class FromBase64 extends Operation {
this.name = "From Base64";
this.module = "Default";
this.description = "Base64 is a notation for encoding arbitrary byte data using a restricted set of symbols that can be conveniently used by humans and processed by computers.
This operation decodes data from an ASCII Base64 string back into its raw format.
e.g. aGVsbG8=
becomes hello
";
+ this.infoURL = "https://wikipedia.org/wiki/Base64";
this.inputType = "string";
this.outputType = "byteArray";
this.args = [
diff --git a/src/core/operations/FromBinary.mjs b/src/core/operations/FromBinary.mjs
index 207b5352..7ae0cc19 100644
--- a/src/core/operations/FromBinary.mjs
+++ b/src/core/operations/FromBinary.mjs
@@ -22,6 +22,7 @@ class FromBinary extends Operation {
this.name = "From Binary";
this.module = "Default";
this.description = "Converts a binary string back into its raw form.
e.g. 01001000 01101001
becomes Hi
";
+ this.infoURL = "https://wikipedia.org/wiki/Binary_code";
this.inputType = "string";
this.outputType = "byteArray";
this.args = [
diff --git a/src/core/operations/FromCharcode.mjs b/src/core/operations/FromCharcode.mjs
index 2dee72f2..3ae54b6c 100644
--- a/src/core/operations/FromCharcode.mjs
+++ b/src/core/operations/FromCharcode.mjs
@@ -23,6 +23,7 @@ class FromCharcode extends Operation {
this.name = "From Charcode";
this.module = "Default";
this.description = "Converts unicode character codes back into text.
e.g. 0393 03b5 03b9 03ac 20 03c3 03bf 03c5
becomes Γειά σου
";
+ this.infoURL = "https://wikipedia.org/wiki/Plane_(Unicode)";
this.inputType = "string";
this.outputType = "byteArray";
this.args = [
diff --git a/src/core/operations/FromHTMLEntity.mjs b/src/core/operations/FromHTMLEntity.mjs
index e9865d95..0a07962b 100644
--- a/src/core/operations/FromHTMLEntity.mjs
+++ b/src/core/operations/FromHTMLEntity.mjs
@@ -21,6 +21,7 @@ class FromHTMLEntity extends Operation {
this.name = "From HTML Entity";
this.module = "Default";
this.description = "Converts HTML entities back to characters
e.g. &
becomes &
";
+ this.infoURL = "https://wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references";
this.inputType = "string";
this.outputType = "string";
this.args = [];
diff --git a/src/core/operations/FromHex.mjs b/src/core/operations/FromHex.mjs
index 3c846824..658cf341 100644
--- a/src/core/operations/FromHex.mjs
+++ b/src/core/operations/FromHex.mjs
@@ -22,6 +22,7 @@ class FromHex extends Operation {
this.name = "From Hex";
this.module = "Default";
this.description = "Converts a hexadecimal byte string back into its raw value.
e.g. ce 93 ce b5 ce b9 ce ac 20 cf 83 ce bf cf 85 0a
becomes the UTF-8 encoded string Γειά σου
";
+ this.infoURL = "https://wikipedia.org/wiki/Hexadecimal";
this.inputType = "string";
this.outputType = "byteArray";
this.args = [
diff --git a/src/core/operations/FromHexContent.mjs b/src/core/operations/FromHexContent.mjs
index 9de085db..22e858e2 100644
--- a/src/core/operations/FromHexContent.mjs
+++ b/src/core/operations/FromHexContent.mjs
@@ -21,7 +21,8 @@ class FromHexContent extends Operation {
this.name = "From Hex Content";
this.module = "Default";
- this.description = "Translates hexadecimal bytes in text back to raw bytes.
e.g. foo|3d|bar
becomes foo=bar
.";
+ this.description = "Translates hexadecimal bytes in text back to raw bytes. This format is used by SNORT for representing hex within ASCII text.
e.g. foo|3d|bar
becomes foo=bar
.";
+ this.infoURL = "http://manual-snort-org.s3-website-us-east-1.amazonaws.com/node32.html#SECTION00451000000000000000";
this.inputType = "string";
this.outputType = "byteArray";
this.args = [];
diff --git a/src/core/operations/FromHexdump.mjs b/src/core/operations/FromHexdump.mjs
index e44b9120..7f4d9119 100644
--- a/src/core/operations/FromHexdump.mjs
+++ b/src/core/operations/FromHexdump.mjs
@@ -21,6 +21,7 @@ class FromHexdump extends Operation {
this.name = "From Hexdump";
this.module = "Default";
this.description = "Attempts to convert a hexdump back into raw data. This operation supports many different hexdump variations, but probably not all. Make sure you verify that the data it gives you is correct before continuing analysis.";
+ this.infoURL = "https://wikipedia.org/wiki/Hex_dump";
this.inputType = "string";
this.outputType = "byteArray";
this.args = [];
diff --git a/src/core/operations/FromMorseCode.mjs b/src/core/operations/FromMorseCode.mjs
index ecf20a08..71613ad1 100644
--- a/src/core/operations/FromMorseCode.mjs
+++ b/src/core/operations/FromMorseCode.mjs
@@ -22,6 +22,7 @@ class FromMorseCode extends Operation {
this.name = "From Morse Code";
this.module = "Default";
this.description = "Translates Morse Code into (upper case) alphanumeric characters.";
+ this.infoURL = "https://wikipedia.org/wiki/Morse_code";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/FromOctal.mjs b/src/core/operations/FromOctal.mjs
index efe04050..41060807 100644
--- a/src/core/operations/FromOctal.mjs
+++ b/src/core/operations/FromOctal.mjs
@@ -22,6 +22,7 @@ class FromOctal extends Operation {
this.name = "From Octal";
this.module = "Default";
this.description = "Converts an octal byte string back into its raw value.
e.g. 316 223 316 265 316 271 316 254 40 317 203 316 277 317 205
becomes the UTF-8 encoded string Γειά σου
";
+ this.infoURL = "https://wikipedia.org/wiki/Octal";
this.inputType = "string";
this.outputType = "byteArray";
this.args = [
diff --git a/src/core/operations/FromPunycode.mjs b/src/core/operations/FromPunycode.mjs
index 1a1cebbf..96c0bcf9 100644
--- a/src/core/operations/FromPunycode.mjs
+++ b/src/core/operations/FromPunycode.mjs
@@ -21,6 +21,7 @@ class FromPunycode extends Operation {
this.name = "From Punycode";
this.module = "Encodings";
this.description = "Punycode is a way to represent Unicode with the limited character subset of ASCII supported by the Domain Name System.
e.g. mnchen-3ya
decodes to m\xfcnchen
";
+ this.infoURL = "https://wikipedia.org/wiki/Punycode";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/FromQuotedPrintable.mjs b/src/core/operations/FromQuotedPrintable.mjs
index 06a6432c..ee079ec6 100644
--- a/src/core/operations/FromQuotedPrintable.mjs
+++ b/src/core/operations/FromQuotedPrintable.mjs
@@ -24,6 +24,7 @@ class FromQuotedPrintable extends Operation {
this.name = "From Quoted Printable";
this.module = "Default";
this.description = "Converts QP-encoded text back to standard text.";
+ this.infoURL = "https://wikipedia.org/wiki/Quoted-printable";
this.inputType = "string";
this.outputType = "byteArray";
this.args = [];
diff --git a/src/core/operations/FromUNIXTimestamp.mjs b/src/core/operations/FromUNIXTimestamp.mjs
index c6d6af43..ee074ec0 100644
--- a/src/core/operations/FromUNIXTimestamp.mjs
+++ b/src/core/operations/FromUNIXTimestamp.mjs
@@ -23,6 +23,7 @@ class FromUNIXTimestamp extends Operation {
this.name = "From UNIX Timestamp";
this.module = "Default";
this.description = "Converts a UNIX timestamp to a datetime string.
e.g. 978346800
becomes Mon 1 January 2001 11:00:00 UTC
A UNIX timestamp is a 32-bit value representing the number of seconds since January 1, 1970 UTC (the UNIX epoch).";
+ this.infoURL = "https://wikipedia.org/wiki/Unix_time";
this.inputType = "number";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/GenerateAllHashes.mjs b/src/core/operations/GenerateAllHashes.mjs
index 1280249a..65820673 100644
--- a/src/core/operations/GenerateAllHashes.mjs
+++ b/src/core/operations/GenerateAllHashes.mjs
@@ -43,6 +43,7 @@ class GenerateAllHashes extends Operation {
this.name = "Generate all hashes";
this.module = "Hashing";
this.description = "Generates all available hashes and checksums for the input.";
+ this.infoURL = "https://wikipedia.org/wiki/Comparison_of_cryptographic_hash_functions";
this.inputType = "ArrayBuffer";
this.outputType = "string";
this.args = [];
diff --git a/src/core/operations/GenerateHOTP.mjs b/src/core/operations/GenerateHOTP.mjs
index 36c115c5..a1a80012 100644
--- a/src/core/operations/GenerateHOTP.mjs
+++ b/src/core/operations/GenerateHOTP.mjs
@@ -22,6 +22,7 @@ class GenerateHOTP extends Operation {
this.name = "Generate HOTP";
this.module = "Default";
this.description = "The HMAC-based One-Time Password algorithm (HOTP) is an algorithm that computes a one-time password from a shared secret key and an incrementing counter. It has been adopted as Internet Engineering Task Force standard RFC 4226, is the cornerstone of Initiative For Open Authentication (OATH), and is used in a number of two-factor authentication systems.
Enter the secret as the input or leave it blank for a random secret to be generated.";
+ this.infoURL = "https://wikipedia.org/wiki/HMAC-based_One-time_Password_algorithm";
this.inputType = "byteArray";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/GeneratePGPKeyPair.mjs b/src/core/operations/GeneratePGPKeyPair.mjs
index 9224011e..74f8a404 100644
--- a/src/core/operations/GeneratePGPKeyPair.mjs
+++ b/src/core/operations/GeneratePGPKeyPair.mjs
@@ -26,6 +26,7 @@ class GeneratePGPKeyPair extends Operation {
this.name = "Generate PGP Key Pair";
this.module = "PGP";
this.description = "Generates a new public/private PGP key pair. Supports RSA and Eliptic Curve (EC) keys.";
+ this.infoURL = "https://wikipedia.org/wiki/Pretty_Good_Privacy";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/GenerateTOTP.mjs b/src/core/operations/GenerateTOTP.mjs
index 8d53f1be..a71708a2 100644
--- a/src/core/operations/GenerateTOTP.mjs
+++ b/src/core/operations/GenerateTOTP.mjs
@@ -22,6 +22,7 @@ class GenerateTOTP extends Operation {
this.name = "Generate TOTP";
this.module = "Default";
this.description = "The Time-based One-Time Password algorithm (TOTP) is an algorithm that computes a one-time password from a shared secret key and the current time. It has been adopted as Internet Engineering Task Force standard RFC 6238, is the cornerstone of Initiative For Open Authentication (OATH), and is used in a number of two-factor authentication systems. A TOTP is an HOTP where the counter is the current time.
Enter the secret as the input or leave it blank for a random secret to be generated. T0 and T1 are in seconds.";
+ this.infoURL = "https://wikipedia.org/wiki/Time-based_One-time_Password_algorithm";
this.inputType = "byteArray";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/GenerateUUID.mjs b/src/core/operations/GenerateUUID.mjs
index 59837b26..eef32c73 100644
--- a/src/core/operations/GenerateUUID.mjs
+++ b/src/core/operations/GenerateUUID.mjs
@@ -21,6 +21,7 @@ class GenerateUUID extends Operation {
this.name = "Generate UUID";
this.module = "Crypto";
this.description = "Generates an RFC 4122 version 4 compliant Universally Unique Identifier (UUID), also known as a Globally Unique Identifier (GUID).
A version 4 UUID relies on random numbers, in this case generated using window.crypto
if available and falling back to Math.random
if not.";
+ this.infoURL = "https://wikipedia.org/wiki/Universally_unique_identifier";
this.inputType = "string";
this.outputType = "string";
this.args = [];
diff --git a/src/core/operations/GroupIPAddresses.mjs b/src/core/operations/GroupIPAddresses.mjs
index a5b7ea2d..1016852b 100644
--- a/src/core/operations/GroupIPAddresses.mjs
+++ b/src/core/operations/GroupIPAddresses.mjs
@@ -24,6 +24,7 @@ class GroupIPAddresses extends Operation {
this.name = "Group IP addresses";
this.module = "JSBN";
this.description = "Groups a list of IP addresses into subnets. Supports both IPv4 and IPv6 addresses.";
+ this.infoURL = "https://wikipedia.org/wiki/Subnetwork";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/Gunzip.mjs b/src/core/operations/Gunzip.mjs
index 19821de6..fe514186 100644
--- a/src/core/operations/Gunzip.mjs
+++ b/src/core/operations/Gunzip.mjs
@@ -23,6 +23,7 @@ class Gunzip extends Operation {
this.name = "Gunzip";
this.module = "Compression";
this.description = "Decompresses data which has been compressed using the deflate algorithm with gzip headers.";
+ this.infoURL = "https://wikipedia.org/wiki/Gzip";
this.inputType = "ArrayBuffer";
this.outputType = "ArrayBuffer";
this.args = [];
diff --git a/src/core/operations/Gzip.mjs b/src/core/operations/Gzip.mjs
index 878959ab..e4a6c15f 100644
--- a/src/core/operations/Gzip.mjs
+++ b/src/core/operations/Gzip.mjs
@@ -24,6 +24,7 @@ class Gzip extends Operation {
this.name = "Gzip";
this.module = "Compression";
this.description = "Compresses data using the deflate algorithm with gzip headers.";
+ this.infoURL = "https://wikipedia.org/wiki/Gzip";
this.inputType = "ArrayBuffer";
this.outputType = "ArrayBuffer";
this.args = [
diff --git a/src/core/operations/HAS160.mjs b/src/core/operations/HAS160.mjs
index 1cf1ab6e..64259999 100644
--- a/src/core/operations/HAS160.mjs
+++ b/src/core/operations/HAS160.mjs
@@ -21,6 +21,7 @@ class HAS160 extends Operation {
this.name = "HAS-160";
this.module = "Hashing";
this.description = "HAS-160 is a cryptographic hash function designed for use with the Korean KCDSA digital signature algorithm. It is derived from SHA-1, with assorted changes intended to increase its security. It produces a 160-bit output.
HAS-160 is used in the same way as SHA-1. First it divides input in blocks of 512 bits each and pads the final block. A digest function updates the intermediate hash value by processing the input blocks in turn.
The message digest algorithm consists of 80 rounds.";
+ this.infoURL = "https://wikipedia.org/wiki/HAS-160";
this.inputType = "ArrayBuffer";
this.outputType = "string";
this.args = [];
diff --git a/src/core/operations/HMAC.mjs b/src/core/operations/HMAC.mjs
index e29656ce..c825f5ff 100644
--- a/src/core/operations/HMAC.mjs
+++ b/src/core/operations/HMAC.mjs
@@ -22,6 +22,7 @@ class HMAC extends Operation {
this.name = "HMAC";
this.module = "Hashing";
this.description = "Keyed-Hash Message Authentication Codes (HMAC) are a mechanism for message authentication using cryptographic hash functions.";
+ this.infoURL = "https://wikipedia.org/wiki/HMAC";
this.inputType = "ArrayBuffer";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/HTTPRequest.mjs b/src/core/operations/HTTPRequest.mjs
index 6846f97a..52029930 100644
--- a/src/core/operations/HTTPRequest.mjs
+++ b/src/core/operations/HTTPRequest.mjs
@@ -30,6 +30,7 @@ class HTTPRequest extends Operation {
"
",
"The status code of the response, along with a limited selection of exposed headers, can be viewed by checking the 'Show response metadata' option. Only a limited set of response headers are exposed by the browser for security reasons.",
].join("\n");
+ this.infoURL = "https://wikipedia.org/wiki/List_of_HTTP_header_fields#Request_fields";
this.inputType = "string";
this.outputType = "string";
this.manualBake = true;
diff --git a/src/core/operations/HammingDistance.mjs b/src/core/operations/HammingDistance.mjs
index 173ca3e7..87c5d222 100644
--- a/src/core/operations/HammingDistance.mjs
+++ b/src/core/operations/HammingDistance.mjs
@@ -23,6 +23,7 @@ class HammingDistance extends Operation {
this.name = "Hamming Distance";
this.module = "Default";
this.description = "In information theory, the Hamming distance between two strings of equal length is the number of positions at which the corresponding symbols are different. In other words, it measures the minimum number of substitutions required to change one string into the other, or the minimum number of errors that could have transformed one string into the other. In a more general context, the Hamming distance is one of several string metrics for measuring the edit distance between two sequences.";
+ this.infoURL = "https://wikipedia.org/wiki/Hamming_distance";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/HaversineDistance.mjs b/src/core/operations/HaversineDistance.mjs
index 3e7bc506..d5c0bf60 100644
--- a/src/core/operations/HaversineDistance.mjs
+++ b/src/core/operations/HaversineDistance.mjs
@@ -21,6 +21,7 @@ class HaversineDistance extends Operation {
this.name = "Haversine distance";
this.module = "Default";
this.description = "Returns the distance between two pairs of GPS latitude and longitude co-ordinates in metres.
e.g. 51.487263,-0.124323, 38.9517,-77.1467
";
+ this.infoURL = "https://wikipedia.org/wiki/Haversine_formula";
this.inputType = "string";
this.outputType = "number";
this.args = [];
diff --git a/src/core/operations/HexToObjectIdentifier.mjs b/src/core/operations/HexToObjectIdentifier.mjs
index 00512e1a..aea5dd24 100644
--- a/src/core/operations/HexToObjectIdentifier.mjs
+++ b/src/core/operations/HexToObjectIdentifier.mjs
@@ -21,6 +21,7 @@ class HexToObjectIdentifier extends Operation {
this.name = "Hex to Object Identifier";
this.module = "PublicKey";
this.description = "Converts a hexadecimal string into an object identifier (OID).";
+ this.infoURL = "https://wikipedia.org/wiki/Object_identifier";
this.inputType = "string";
this.outputType = "string";
this.args = [];
diff --git a/src/core/operations/HexToPEM.mjs b/src/core/operations/HexToPEM.mjs
index c08888d4..b0845685 100644
--- a/src/core/operations/HexToPEM.mjs
+++ b/src/core/operations/HexToPEM.mjs
@@ -21,6 +21,7 @@ class HexToPEM extends Operation {
this.name = "Hex to PEM";
this.module = "PublicKey";
this.description = "Converts a hexadecimal DER (Distinguished Encoding Rules) string into PEM (Privacy Enhanced Mail) format.";
+ this.infoURL = "https://wikipedia.org/wiki/Privacy-Enhanced_Mail";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/JPathExpression.mjs b/src/core/operations/JPathExpression.mjs
index 21b4284f..df99fc56 100644
--- a/src/core/operations/JPathExpression.mjs
+++ b/src/core/operations/JPathExpression.mjs
@@ -22,6 +22,7 @@ class JPathExpression extends Operation {
this.name = "JPath expression";
this.module = "Code";
this.description = "Extract information from a JSON object with a JPath query.";
+ this.infoURL = "http://goessner.net/articles/JsonPath/";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/JavaScriptParser.mjs b/src/core/operations/JavaScriptParser.mjs
index 047bc730..40ee7a57 100644
--- a/src/core/operations/JavaScriptParser.mjs
+++ b/src/core/operations/JavaScriptParser.mjs
@@ -21,6 +21,7 @@ class JavaScriptParser extends Operation {
this.name = "JavaScript Parser";
this.module = "Code";
this.description = "Returns an Abstract Syntax Tree for valid JavaScript code.";
+ this.infoURL = "https://en.wikipedia.org/wiki/Abstract_syntax_tree";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/Keccak.mjs b/src/core/operations/Keccak.mjs
index cfe5dd8a..2044ee7f 100644
--- a/src/core/operations/Keccak.mjs
+++ b/src/core/operations/Keccak.mjs
@@ -22,6 +22,7 @@ class Keccak extends Operation {
this.name = "Keccak";
this.module = "Hashing";
this.description = "The Keccak hash algorithm was designed by Guido Bertoni, Joan Daemen, Micha\xebl Peeters, and Gilles Van Assche, building upon RadioGat\xfan. It was selected as the winner of the SHA-3 design competition.
This version of the algorithm is Keccak[c=2d] and differs from the SHA-3 specification.";
+ this.infoURL = "https://wikipedia.org/wiki/SHA-3";
this.inputType = "ArrayBuffer";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/MD2.mjs b/src/core/operations/MD2.mjs
index ab21a397..bc69ecfb 100644
--- a/src/core/operations/MD2.mjs
+++ b/src/core/operations/MD2.mjs
@@ -21,6 +21,7 @@ class MD2 extends Operation {
this.name = "MD2";
this.module = "Hashing";
this.description = "The MD2 (Message-Digest 2) algorithm is a cryptographic hash function developed by Ronald Rivest in 1989. The algorithm is optimized for 8-bit computers.
Although MD2 is no longer considered secure, even as of 2014, it remains in use in public key infrastructures as part of certificates generated with MD2 and RSA.";
+ this.infoURL = "https://wikipedia.org/wiki/MD2_(cryptography)";
this.inputType = "ArrayBuffer";
this.outputType = "string";
this.args = [];
diff --git a/src/core/operations/MD4.mjs b/src/core/operations/MD4.mjs
index 52712580..129769af 100644
--- a/src/core/operations/MD4.mjs
+++ b/src/core/operations/MD4.mjs
@@ -21,6 +21,7 @@ class MD4 extends Operation {
this.name = "MD4";
this.module = "Hashing";
this.description = "The MD4 (Message-Digest 4) algorithm is a cryptographic hash function developed by Ronald Rivest in 1990. The digest length is 128 bits. The algorithm has influenced later designs, such as the MD5, SHA-1 and RIPEMD algorithms.
The security of MD4 has been severely compromised.";
+ this.infoURL = "https://wikipedia.org/wiki/MD4";
this.inputType = "ArrayBuffer";
this.outputType = "string";
this.args = [];
diff --git a/src/core/operations/MD5.mjs b/src/core/operations/MD5.mjs
index 692f0f96..6329b641 100644
--- a/src/core/operations/MD5.mjs
+++ b/src/core/operations/MD5.mjs
@@ -21,6 +21,7 @@ class MD5 extends Operation {
this.name = "MD5";
this.module = "Hashing";
this.description = "MD5 (Message-Digest 5) is a widely used hash function. It has been used in a variety of security applications and is also commonly used to check the integrity of files.
However, MD5 is not collision resistant and it isn't suitable for applications like SSL/TLS certificates or digital signatures that rely on this property.";
+ this.infoURL = "https://wikipedia.org/wiki/MD5";
this.inputType = "ArrayBuffer";
this.outputType = "string";
this.args = [];
diff --git a/src/core/operations/MD6.mjs b/src/core/operations/MD6.mjs
index 2d12cc27..e29db447 100644
--- a/src/core/operations/MD6.mjs
+++ b/src/core/operations/MD6.mjs
@@ -22,6 +22,7 @@ class MD6 extends Operation {
this.name = "MD6";
this.module = "Hashing";
this.description = "The MD6 (Message-Digest 6) algorithm is a cryptographic hash function. It uses a Merkle tree-like structure to allow for immense parallel computation of hashes for very long inputs.";
+ this.infoURL = "https://wikipedia.org/wiki/MD6";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/Magic.mjs b/src/core/operations/Magic.mjs
index 7467c5dd..b3e15e63 100644
--- a/src/core/operations/Magic.mjs
+++ b/src/core/operations/Magic.mjs
@@ -23,7 +23,8 @@ class Magic extends Operation {
this.name = "Magic";
this.flowControl = true;
this.module = "Default";
- this.description = "The Magic operation attempts to detect various properties of the input data and suggests which operations could help to make more sense of it.
Options
Depth: If an operation appears to match the data, it will be run and the result will be analysed further. This argument controls the maximum number of levels of recursion.
Intensive mode: When this is turned on, various operations like XOR, bit rotates, and character encodings are brute-forced to attempt to detect valid data underneath. To improve performance, only the first 100 bytes of the data is brute-forced.
Extensive language support: At each stage, the relative byte frequencies of the data will be compared to average frequencies for a number of languages. The default set consists of ~40 of the most commonly used languages on the Internet. The extensive list consists of 284 languages and can result in many languages matching the data if their byte frequencies are similar.
A technical explanation of the Magic operation can be found here.";
+ this.description = "The Magic operation attempts to detect various properties of the input data and suggests which operations could help to make more sense of it.
Options
Depth: If an operation appears to match the data, it will be run and the result will be analysed further. This argument controls the maximum number of levels of recursion.
Intensive mode: When this is turned on, various operations like XOR, bit rotates, and character encodings are brute-forced to attempt to detect valid data underneath. To improve performance, only the first 100 bytes of the data is brute-forced.
Extensive language support: At each stage, the relative byte frequencies of the data will be compared to average frequencies for a number of languages. The default set consists of ~40 of the most commonly used languages on the Internet. The extensive list consists of 284 languages and can result in many languages matching the data if their byte frequencies are similar.";
+ this.infoURL = "https://github.com/gchq/CyberChef/wiki/Automatic-detection-of-encoded-data-using-CyberChef-Magic";
this.inputType = "ArrayBuffer";
this.outputType = "JSON";
this.presentType = "html";
diff --git a/src/core/operations/Mean.mjs b/src/core/operations/Mean.mjs
index 16342e7a..a9bb8831 100644
--- a/src/core/operations/Mean.mjs
+++ b/src/core/operations/Mean.mjs
@@ -24,6 +24,7 @@ class Mean extends Operation {
this.name = "Mean";
this.module = "Default";
this.description = "Computes the mean (average) of a number list. If an item in the string is not a number it is excluded from the list.
e.g. 0x0a 8 .5 .5
becomes 4.75
";
+ this.infoURL = "https://wikipedia.org/wiki/Arithmetic_mean";
this.inputType = "string";
this.outputType = "BigNumber";
this.args = [
diff --git a/src/core/operations/Median.mjs b/src/core/operations/Median.mjs
index b1936fa8..ac75d83e 100644
--- a/src/core/operations/Median.mjs
+++ b/src/core/operations/Median.mjs
@@ -24,6 +24,7 @@ class Median extends Operation {
this.name = "Median";
this.module = "Default";
this.description = "Computes the median of a number list. If an item in the string is not a number it is excluded from the list.
e.g. 0x0a 8 1 .5
becomes 4.5
";
+ this.infoURL = "https://wikipedia.org/wiki/Median";
this.inputType = "string";
this.outputType = "BigNumber";
this.args = [
diff --git a/src/core/operations/MicrosoftScriptDecoder.mjs b/src/core/operations/MicrosoftScriptDecoder.mjs
index cc9d407f..bb475ffc 100644
--- a/src/core/operations/MicrosoftScriptDecoder.mjs
+++ b/src/core/operations/MicrosoftScriptDecoder.mjs
@@ -20,6 +20,7 @@ class MicrosoftScriptDecoder extends Operation {
this.name = "Microsoft Script Decoder";
this.module = "Default";
this.description = "Decodes Microsoft Encoded Script files that have been encoded with Microsoft's custom encoding. These are often VBS (Visual Basic Script) files that are encoded and renamed with a '.vbe' extention or JS (JScript) files renamed with a '.jse' extention.
Sample
Encoded:
#@~^RQAAAA==-mD~sX|:/TP{~J:+dYbxL~@!F@*@!+@*@!&@*eEI@#@&@#@&.jm.raY 214Wv:zms/obI0xEAAA==^#~@
Decoded:
var my_msg = "Testing <1><2><3>!";\n\nVScript.Echo(my_msg);
";
+ this.infoURL = "https://wikipedia.org/wiki/JScript.Encode";
this.inputType = "string";
this.outputType = "string";
this.args = [];
diff --git a/src/core/operations/Multiply.mjs b/src/core/operations/Multiply.mjs
index 3f78daa4..f7e792e2 100644
--- a/src/core/operations/Multiply.mjs
+++ b/src/core/operations/Multiply.mjs
@@ -25,6 +25,7 @@ class Multiply extends Operation {
this.name = "Multiply";
this.module = "Default";
this.description = "Multiplies a list of numbers. If an item in the string is not a number it is excluded from the list.
e.g. 0x0a 8 .5
becomes 40
";
+ this.infoURL = "https://wikipedia.org/wiki/Multiplication";
this.inputType = "string";
this.outputType = "BigNumber";
this.args = [
diff --git a/src/core/operations/NOT.mjs b/src/core/operations/NOT.mjs
index e0352dd0..e7f00393 100644
--- a/src/core/operations/NOT.mjs
+++ b/src/core/operations/NOT.mjs
@@ -21,6 +21,7 @@ class NOT extends Operation {
this.name = "NOT";
this.module = "Default";
this.description = "Returns the inverse of each byte.";
+ this.infoURL = "https://wikipedia.org/wiki/Bitwise_operation#NOT";
this.inputType = "byteArray";
this.outputType = "byteArray";
this.args = [];
diff --git a/src/core/operations/Numberwang.mjs b/src/core/operations/Numberwang.mjs
index 202e4dc7..96100fbb 100644
--- a/src/core/operations/Numberwang.mjs
+++ b/src/core/operations/Numberwang.mjs
@@ -20,6 +20,7 @@ class Numberwang extends Operation {
this.name = "Numberwang";
this.module = "Default";
this.description = "Based on the popular gameshow by Mitchell and Webb.";
+ this.infoURL = "https://wikipedia.org/wiki/That_Mitchell_and_Webb_Look#Recurring_sketches";
this.inputType = "string";
this.outputType = "string";
this.args = [];
diff --git a/src/core/operations/OR.mjs b/src/core/operations/OR.mjs
index cd3b757e..be64cd8e 100644
--- a/src/core/operations/OR.mjs
+++ b/src/core/operations/OR.mjs
@@ -22,6 +22,7 @@ class OR extends Operation {
this.name = "OR";
this.module = "Default";
this.description = "OR the input with the given key.
e.g. fe023da5
";
+ this.infoURL = "https://wikipedia.org/wiki/Bitwise_operation#OR";
this.inputType = "byteArray";
this.outputType = "byteArray";
this.args = [
diff --git a/src/core/operations/ObjectIdentifierToHex.mjs b/src/core/operations/ObjectIdentifierToHex.mjs
index 9be7108c..90e45ea5 100644
--- a/src/core/operations/ObjectIdentifierToHex.mjs
+++ b/src/core/operations/ObjectIdentifierToHex.mjs
@@ -21,6 +21,7 @@ class ObjectIdentifierToHex extends Operation {
this.name = "Object Identifier to Hex";
this.module = "PublicKey";
this.description = "Converts an object identifier (OID) into a hexadecimal string.";
+ this.infoURL = "https://wikipedia.org/wiki/Object_identifier";
this.inputType = "string";
this.outputType = "string";
this.args = [];
diff --git a/src/core/operations/PEMToHex.mjs b/src/core/operations/PEMToHex.mjs
index 36ac4d71..a2c989fe 100644
--- a/src/core/operations/PEMToHex.mjs
+++ b/src/core/operations/PEMToHex.mjs
@@ -21,6 +21,7 @@ class PEMToHex extends Operation {
this.name = "PEM to Hex";
this.module = "PublicKey";
this.description = "Converts PEM (Privacy Enhanced Mail) format to a hexadecimal DER (Distinguished Encoding Rules) string.";
+ this.infoURL = "https://en.wikipedia.org/wiki/X.690#DER_encoding";
this.inputType = "string";
this.outputType = "string";
this.args = [];
diff --git a/src/core/operations/PGPDecrypt.mjs b/src/core/operations/PGPDecrypt.mjs
index 6e0b3d3d..ccf13cd1 100644
--- a/src/core/operations/PGPDecrypt.mjs
+++ b/src/core/operations/PGPDecrypt.mjs
@@ -34,6 +34,7 @@ class PGPDecrypt extends Operation {
"
",
"This function uses the Keybase implementation of PGP.",
].join("\n");
+ this.infoURL = "https://wikipedia.org/wiki/Pretty_Good_Privacy";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/PGPDecryptAndVerify.mjs b/src/core/operations/PGPDecryptAndVerify.mjs
index 0f6463f2..58c61c25 100644
--- a/src/core/operations/PGPDecryptAndVerify.mjs
+++ b/src/core/operations/PGPDecryptAndVerify.mjs
@@ -36,6 +36,7 @@ class PGPDecryptAndVerify extends Operation {
"
",
"This function uses the Keybase implementation of PGP.",
].join("\n");
+ this.infoURL = "https://wikipedia.org/wiki/Pretty_Good_Privacy";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/PGPEncrypt.mjs b/src/core/operations/PGPEncrypt.mjs
index 345d313f..5d19de32 100644
--- a/src/core/operations/PGPEncrypt.mjs
+++ b/src/core/operations/PGPEncrypt.mjs
@@ -33,6 +33,7 @@ class PGPEncrypt extends Operation {
"
",
"This function uses the Keybase implementation of PGP.",
].join("\n");
+ this.infoURL = "https://wikipedia.org/wiki/Pretty_Good_Privacy";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/PGPEncryptAndSign.mjs b/src/core/operations/PGPEncryptAndSign.mjs
index 0daa27b5..d9d19ce3 100644
--- a/src/core/operations/PGPEncryptAndSign.mjs
+++ b/src/core/operations/PGPEncryptAndSign.mjs
@@ -36,6 +36,7 @@ class PGPEncryptAndSign extends Operation {
"
",
"This function uses the Keybase implementation of PGP.",
].join("\n");
+ this.infoURL = "https://wikipedia.org/wiki/Pretty_Good_Privacy";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/PHPDeserialize.mjs b/src/core/operations/PHPDeserialize.mjs
index a54c04d2..760e4e05 100644
--- a/src/core/operations/PHPDeserialize.mjs
+++ b/src/core/operations/PHPDeserialize.mjs
@@ -21,6 +21,7 @@ class PHPDeserialize extends Operation {
this.name = "PHP Deserialize";
this.module = "Default";
this.description = "Deserializes PHP serialized data, outputting keyed arrays as JSON.
This function does not support object
tags.
Example:
a:2:{s:1:"a";i:10;i:0;a:1:{s:2:"ab";b:1;}}
becomes
{"a": 10,0: {"ab": true}}
Output valid JSON: JSON doesn't support integers as keys, whereas PHP serialization does. Enabling this will cast these integers to strings. This will also escape backslashes.";
+ this.infoURL = "http://www.phpinternalsbook.com/classes_objects/serialization.html";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/ParseASN1HexString.mjs b/src/core/operations/ParseASN1HexString.mjs
index 9f192156..92c070a4 100644
--- a/src/core/operations/ParseASN1HexString.mjs
+++ b/src/core/operations/ParseASN1HexString.mjs
@@ -21,6 +21,7 @@ class ParseASN1HexString extends Operation {
this.name = "Parse ASN.1 hex string";
this.module = "PublicKey";
this.description = "Abstract Syntax Notation One (ASN.1) is a standard and notation that describes rules and structures for representing, encoding, transmitting, and decoding data in telecommunications and computer networking.
This operation parses arbitrary ASN.1 data and presents the resulting tree.";
+ this.infoURL = "https://wikipedia.org/wiki/Abstract_Syntax_Notation_One";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/ParseColourCode.mjs b/src/core/operations/ParseColourCode.mjs
index ca6ee80d..c97f9b89 100644
--- a/src/core/operations/ParseColourCode.mjs
+++ b/src/core/operations/ParseColourCode.mjs
@@ -20,6 +20,7 @@ class ParseColourCode extends Operation {
this.name = "Parse colour code";
this.module = "Default";
this.description = "Converts a colour code in a standard format to other standard formats and displays the colour itself.
Example inputs#d9edf7
rgba(217,237,247,1)
hsla(200,65%,91%,1)
cmyk(0.12, 0.04, 0.00, 0.03)
";
+ this.infoURL = "https://wikipedia.org/wiki/Web_colors";
this.inputType = "string";
this.outputType = "html";
this.args = [];
diff --git a/src/core/operations/ParseDateTime.mjs b/src/core/operations/ParseDateTime.mjs
index 8b39616d..82af1c32 100644
--- a/src/core/operations/ParseDateTime.mjs
+++ b/src/core/operations/ParseDateTime.mjs
@@ -22,6 +22,7 @@ class ParseDateTime extends Operation {
this.name = "Parse DateTime";
this.module = "Default";
this.description = "Parses a DateTime string in your specified format and displays it in whichever timezone you choose with the following information:- Date
- Time
- Period (AM/PM)
- Timezone
- UTC offset
- Daylight Saving Time
- Leap year
- Days in this month
- Day of year
- Week number
- Quarter
Run with no input to see format string examples if required.";
+ this.infoURL = "https://momentjs.com/docs/#/parsing/string-format/";
this.inputType = "string";
this.outputType = "html";
this.args = [
diff --git a/src/core/operations/ParseIPRange.mjs b/src/core/operations/ParseIPRange.mjs
index 0063f320..3704751f 100644
--- a/src/core/operations/ParseIPRange.mjs
+++ b/src/core/operations/ParseIPRange.mjs
@@ -22,6 +22,7 @@ class ParseIPRange extends Operation {
this.name = "Parse IP range";
this.module = "JSBN";
this.description = "Given a CIDR range (e.g. 10.0.0.0/24
) or a hyphenated range (e.g. 10.0.0.0 - 10.0.1.0
), this operation provides network information and enumerates all IP addresses in the range.
IPv6 is supported but will not be enumerated.";
+ this.infoURL = "https://wikipedia.org/wiki/Subnetwork";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/ParseIPv4Header.mjs b/src/core/operations/ParseIPv4Header.mjs
index cf5b31aa..d5efc24b 100644
--- a/src/core/operations/ParseIPv4Header.mjs
+++ b/src/core/operations/ParseIPv4Header.mjs
@@ -25,6 +25,7 @@ class ParseIPv4Header extends Operation {
this.name = "Parse IPv4 header";
this.module = "JSBN";
this.description = "Given an IPv4 header, this operations parses and displays each field in an easily readable format.";
+ this.infoURL = "https://wikipedia.org/wiki/IPv4#Header";
this.inputType = "string";
this.outputType = "html";
this.args = [
diff --git a/src/core/operations/ParseIPv6Address.mjs b/src/core/operations/ParseIPv6Address.mjs
index 26515fed..1603d47b 100644
--- a/src/core/operations/ParseIPv6Address.mjs
+++ b/src/core/operations/ParseIPv6Address.mjs
@@ -24,6 +24,7 @@ class ParseIPv6Address extends Operation {
this.name = "Parse IPv6 address";
this.module = "JSBN";
this.description = "Displays the longhand and shorthand versions of a valid IPv6 address.
Recognises all reserved ranges and parses encapsulated or tunnelled addresses including Teredo and 6to4.";
+ this.infoURL = "https://wikipedia.org/wiki/IPv6_address";
this.inputType = "string";
this.outputType = "string";
this.args = [];
diff --git a/src/core/operations/ParseUNIXFilePermissions.mjs b/src/core/operations/ParseUNIXFilePermissions.mjs
index a86ed9ce..8a0eac7a 100644
--- a/src/core/operations/ParseUNIXFilePermissions.mjs
+++ b/src/core/operations/ParseUNIXFilePermissions.mjs
@@ -21,6 +21,7 @@ class ParseUNIXFilePermissions extends Operation {
this.name = "Parse UNIX file permissions";
this.module = "Default";
this.description = "Given a UNIX/Linux file permission string in octal or textual format, this operation explains which permissions are granted to which user groups.
Input should be in either octal (e.g. 755
) or textual (e.g. drwxr-xr-x
) format.";
+ this.infoURL = "https://wikipedia.org/wiki/File_system_permissions#Traditional_Unix_permissions";
this.inputType = "string";
this.outputType = "string";
this.args = [];
diff --git a/src/core/operations/ParseURI.mjs b/src/core/operations/ParseURI.mjs
index a272ef53..d86cb061 100644
--- a/src/core/operations/ParseURI.mjs
+++ b/src/core/operations/ParseURI.mjs
@@ -21,6 +21,7 @@ class ParseURI extends Operation {
this.name = "Parse URI";
this.module = "URL";
this.description = "Pretty prints complicated Uniform Resource Identifier (URI) strings for ease of reading. Particularly useful for Uniform Resource Locators (URLs) with a lot of arguments.";
+ this.infoURL = "https://wikipedia.org/wiki/Uniform_Resource_Identifier";
this.inputType = "string";
this.outputType = "string";
this.args = [];
diff --git a/src/core/operations/ParseUserAgent.mjs b/src/core/operations/ParseUserAgent.mjs
index c1dda3cf..03ccc86e 100644
--- a/src/core/operations/ParseUserAgent.mjs
+++ b/src/core/operations/ParseUserAgent.mjs
@@ -21,6 +21,7 @@ class ParseUserAgent extends Operation {
this.name = "Parse User Agent";
this.module = "UserAgent";
this.description = "Attempts to identify and categorise information contained in a user-agent string.";
+ this.infoURL = "https://wikipedia.org/wiki/User_agent";
this.inputType = "string";
this.outputType = "string";
this.args = [];
diff --git a/src/core/operations/ParseX509Certificate.mjs b/src/core/operations/ParseX509Certificate.mjs
index 831738f3..8af7040e 100644
--- a/src/core/operations/ParseX509Certificate.mjs
+++ b/src/core/operations/ParseX509Certificate.mjs
@@ -25,6 +25,7 @@ class ParseX509Certificate extends Operation {
this.name = "Parse X.509 certificate";
this.module = "PublicKey";
this.description = "X.509 is an ITU-T standard for a public key infrastructure (PKI) and Privilege Management Infrastructure (PMI). It is commonly involved with SSL/TLS security.
This operation displays the contents of a certificate in a human readable format, similar to the openssl command line tool.
Tags: X509, server hello, handshake";
+ this.infoURL = "https://wikipedia.org/wiki/X.509";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/PowerSet.mjs b/src/core/operations/PowerSet.mjs
index f3d32392..6866c254 100644
--- a/src/core/operations/PowerSet.mjs
+++ b/src/core/operations/PowerSet.mjs
@@ -20,6 +20,7 @@ class PowerSet extends Operation {
this.name = "Power Set";
this.module = "Default";
this.description = "Calculates all the subsets of a set.";
+ this.infoURL = "https://wikipedia.org/wiki/Power_set";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/PseudoRandomNumberGenerator.mjs b/src/core/operations/PseudoRandomNumberGenerator.mjs
index 0b5e45be..6fdebefd 100644
--- a/src/core/operations/PseudoRandomNumberGenerator.mjs
+++ b/src/core/operations/PseudoRandomNumberGenerator.mjs
@@ -23,6 +23,7 @@ class PseudoRandomNumberGenerator extends Operation {
this.name = "Pseudo-Random Number Generator";
this.module = "Ciphers";
this.description = "A cryptographically-secure pseudo-random number generator (PRNG).
This operation uses the browser's built-in crypto.getRandomValues()
method if available. If this cannot be found, it falls back to a Fortuna-based PRNG algorithm.";
+ this.infoURL = "https://wikipedia.org/wiki/Pseudorandom_number_generator";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/RC2Decrypt.mjs b/src/core/operations/RC2Decrypt.mjs
index a8a8a75f..b0302cd7 100644
--- a/src/core/operations/RC2Decrypt.mjs
+++ b/src/core/operations/RC2Decrypt.mjs
@@ -22,6 +22,7 @@ class RC2Decrypt extends Operation {
this.name = "RC2 Decrypt";
this.module = "Ciphers";
this.description = "RC2 (also known as ARC2) is a symmetric-key block cipher designed by Ron Rivest in 1987. 'RC' stands for 'Rivest Cipher'.
Key: RC2 uses a variable size key.
IV: To run the cipher in CBC mode, the Initialization Vector should be 8 bytes long. If the IV is left blank, the cipher will run in ECB mode.
Padding: In both CBC and ECB mode, PKCS#7 padding will be used.";
+ this.infoURL = "https://wikipedia.org/wiki/RC2";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/RC2Encrypt.mjs b/src/core/operations/RC2Encrypt.mjs
index bf6642e6..5c59c1ea 100644
--- a/src/core/operations/RC2Encrypt.mjs
+++ b/src/core/operations/RC2Encrypt.mjs
@@ -23,6 +23,7 @@ class RC2Encrypt extends Operation {
this.name = "RC2 Encrypt";
this.module = "Ciphers";
this.description = "RC2 (also known as ARC2) is a symmetric-key block cipher designed by Ron Rivest in 1987. 'RC' stands for 'Rivest Cipher'.
Key: RC2 uses a variable size key.
You can generate a password-based key using one of the KDF operations.
IV: To run the cipher in CBC mode, the Initialization Vector should be 8 bytes long. If the IV is left blank, the cipher will run in ECB mode.
Padding: In both CBC and ECB mode, PKCS#7 padding will be used.";
+ this.infoURL = "https://wikipedia.org/wiki/RC2";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/RC4.mjs b/src/core/operations/RC4.mjs
index 28968a0a..1446c972 100644
--- a/src/core/operations/RC4.mjs
+++ b/src/core/operations/RC4.mjs
@@ -22,6 +22,7 @@ class RC4 extends Operation {
this.name = "RC4";
this.module = "Ciphers";
this.description = "RC4 (also known as ARC4) is a widely-used stream cipher designed by Ron Rivest. It is used in popular protocols such as SSL and WEP. Although remarkable for its simplicity and speed, the algorithm's history doesn't inspire confidence in its security.";
+ this.infoURL = "https://wikipedia.org/wiki/RC4";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/RC4Drop.mjs b/src/core/operations/RC4Drop.mjs
index 05f8aca9..243d3a7a 100644
--- a/src/core/operations/RC4Drop.mjs
+++ b/src/core/operations/RC4Drop.mjs
@@ -22,6 +22,7 @@ class RC4Drop extends Operation {
this.name = "RC4 Drop";
this.module = "Ciphers";
this.description = "It was discovered that the first few bytes of the RC4 keystream are strongly non-random and leak information about the key. We can defend against this attack by discarding the initial portion of the keystream. This modified algorithm is traditionally called RC4-drop.";
+ this.infoURL = "https://wikipedia.org/wiki/RC4#Fluhrer,_Mantin_and_Shamir_attack";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/RIPEMD.mjs b/src/core/operations/RIPEMD.mjs
index 07cfe4b4..fea7116e 100644
--- a/src/core/operations/RIPEMD.mjs
+++ b/src/core/operations/RIPEMD.mjs
@@ -21,6 +21,7 @@ class RIPEMD extends Operation {
this.name = "RIPEMD";
this.module = "Hashing";
this.description = "RIPEMD (RACE Integrity Primitives Evaluation Message Digest) is a family of cryptographic hash functions developed in Leuven, Belgium, by Hans Dobbertin, Antoon Bosselaers and Bart Preneel at the COSIC research group at the Katholieke Universiteit Leuven, and first published in 1996.
RIPEMD was based upon the design principles used in MD4, and is similar in performance to the more popular SHA-1.
";
+ this.infoURL = "https://wikipedia.org/wiki/RIPEMD";
this.inputType = "ArrayBuffer";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/ROT13.mjs b/src/core/operations/ROT13.mjs
index d3e4e75a..f1dda5a8 100644
--- a/src/core/operations/ROT13.mjs
+++ b/src/core/operations/ROT13.mjs
@@ -21,6 +21,7 @@ class ROT13 extends Operation {
this.name = "ROT13";
this.module = "Default";
this.description = "A simple caesar substitution cipher which rotates alphabet characters by the specified amount (default 13).";
+ this.infoURL = "https://wikipedia.org/wiki/ROT13";
this.inputType = "byteArray";
this.outputType = "byteArray";
this.args = [
diff --git a/src/core/operations/ROT47.mjs b/src/core/operations/ROT47.mjs
index e0722670..1219b349 100644
--- a/src/core/operations/ROT47.mjs
+++ b/src/core/operations/ROT47.mjs
@@ -21,6 +21,7 @@ class ROT47 extends Operation {
this.name = "ROT47";
this.module = "Default";
this.description = "A slightly more complex variation of a caesar cipher, which includes ASCII characters from 33 '!' to 126 '~'. Default rotation: 47.";
+ this.infoURL = "https://wikipedia.org/wiki/ROT13#Variants";
this.inputType = "byteArray";
this.outputType = "byteArray";
this.args = [
diff --git a/src/core/operations/RawDeflate.mjs b/src/core/operations/RawDeflate.mjs
index 55a922b0..c1d6dd53 100644
--- a/src/core/operations/RawDeflate.mjs
+++ b/src/core/operations/RawDeflate.mjs
@@ -30,6 +30,7 @@ class RawDeflate extends Operation {
this.name = "Raw Deflate";
this.module = "Compression";
this.description = "Compresses data using the deflate algorithm with no headers.";
+ this.infoURL = "https://wikipedia.org/wiki/DEFLATE";
this.inputType = "ArrayBuffer";
this.outputType = "ArrayBuffer";
this.args = [
diff --git a/src/core/operations/RawInflate.mjs b/src/core/operations/RawInflate.mjs
index f1a5341b..99066d79 100644
--- a/src/core/operations/RawInflate.mjs
+++ b/src/core/operations/RawInflate.mjs
@@ -30,6 +30,7 @@ class RawInflate extends Operation {
this.name = "Raw Inflate";
this.module = "Compression";
this.description = "Decompresses data which has been compressed using the deflate algorithm with no headers.";
+ this.infoURL = "https://wikipedia.org/wiki/DEFLATE";
this.inputType = "ArrayBuffer";
this.outputType = "ArrayBuffer";
this.args = [
diff --git a/src/core/operations/Register.mjs b/src/core/operations/Register.mjs
index b3a5397f..29e1cd50 100644
--- a/src/core/operations/Register.mjs
+++ b/src/core/operations/Register.mjs
@@ -22,6 +22,7 @@ class Register extends Operation {
this.flowControl = true;
this.module = "Default";
this.description = "Extract data from the input and store it in registers which can then be passed into subsequent operations as arguments. Regular expression capture groups are used to select the data to extract.
To use registers in arguments, refer to them using the notation $Rn
where n is the register number, starting at 0.
For example:
Input: Test
Extractor: (.*)
Argument: $R0
becomes Test
Registers can be escaped in arguments using a backslash. e.g. \\$R0
would become $R0
rather than Test
.";
+ this.infoURL = "https://wikipedia.org/wiki/Regular_expression#Syntax";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/RegularExpression.mjs b/src/core/operations/RegularExpression.mjs
index 4f8b9813..152c276e 100644
--- a/src/core/operations/RegularExpression.mjs
+++ b/src/core/operations/RegularExpression.mjs
@@ -23,6 +23,7 @@ class RegularExpression extends Operation {
this.name = "Regular expression";
this.module = "Regex";
this.description = "Define your own regular expression (regex) to search the input data with, optionally choosing from a list of pre-defined patterns.
Supports extended regex syntax including the 'dot matches all' flag, named capture groups, full unicode coverage (including \\p{}
categories and scripts as well as astral codes) and recursive matching.";
+ this.infoURL = "https://wikipedia.org/wiki/Regular_expression";
this.inputType = "string";
this.outputType = "html";
this.args = [
diff --git a/src/core/operations/RemoveEXIF.mjs b/src/core/operations/RemoveEXIF.mjs
index f2c479b3..9c5cf49f 100644
--- a/src/core/operations/RemoveEXIF.mjs
+++ b/src/core/operations/RemoveEXIF.mjs
@@ -26,6 +26,7 @@ class RemoveEXIF extends Operation {
"
",
"EXIF data embedded in photos usually contains information about the image file itself as well as the device used to create it.",
].join("\n");
+ this.infoURL = "https://wikipedia.org/wiki/Exif";
this.inputType = "byteArray";
this.outputType = "byteArray";
this.args = [];
diff --git a/src/core/operations/RotateLeft.mjs b/src/core/operations/RotateLeft.mjs
index d21e0def..4f73345d 100644
--- a/src/core/operations/RotateLeft.mjs
+++ b/src/core/operations/RotateLeft.mjs
@@ -22,6 +22,7 @@ class RotateLeft extends Operation {
this.name = "Rotate left";
this.module = "Default";
this.description = "Rotates each byte to the left by the number of bits specified, optionally carrying the excess bits over to the next byte. Currently only supports 8-bit values.";
+ this.infoURL = "https://wikipedia.org/wiki/Bitwise_operation#Bit_shifts";
this.inputType = "byteArray";
this.outputType = "byteArray";
this.args = [
diff --git a/src/core/operations/RotateRight.mjs b/src/core/operations/RotateRight.mjs
index f4a35cb6..455369b0 100644
--- a/src/core/operations/RotateRight.mjs
+++ b/src/core/operations/RotateRight.mjs
@@ -22,6 +22,7 @@ class RotateRight extends Operation {
this.name = "Rotate right";
this.module = "Default";
this.description = "Rotates each byte to the right by the number of bits specified, optionally carrying the excess bits over to the next byte. Currently only supports 8-bit values.";
+ this.infoURL = "https://wikipedia.org/wiki/Bitwise_operation#Bit_shifts";
this.inputType = "byteArray";
this.outputType = "byteArray";
this.args = [
diff --git a/src/core/operations/SHA0.mjs b/src/core/operations/SHA0.mjs
index 292c63ce..6982d67c 100644
--- a/src/core/operations/SHA0.mjs
+++ b/src/core/operations/SHA0.mjs
@@ -21,6 +21,7 @@ class SHA0 extends Operation {
this.name = "SHA0";
this.module = "Hashing";
this.description = "SHA-0 is a retronym applied to the original version of the 160-bit hash function published in 1993 under the name 'SHA'. It was withdrawn shortly after publication due to an undisclosed 'significant flaw' and replaced by the slightly revised version SHA-1.";
+ this.infoURL = "https://wikipedia.org/wiki/SHA-1#SHA-0";
this.inputType = "ArrayBuffer";
this.outputType = "string";
this.args = [];
diff --git a/src/core/operations/SHA1.mjs b/src/core/operations/SHA1.mjs
index 904c55f0..8f16111c 100644
--- a/src/core/operations/SHA1.mjs
+++ b/src/core/operations/SHA1.mjs
@@ -21,6 +21,7 @@ class SHA1 extends Operation {
this.name = "SHA1";
this.module = "Hashing";
this.description = "The SHA (Secure Hash Algorithm) hash functions were designed by the NSA. SHA-1 is the most established of the existing SHA hash functions and it is used in a variety of security applications and protocols.
However, SHA-1's collision resistance has been weakening as new attacks are discovered or improved.";
+ this.infoURL = "https://wikipedia.org/wiki/SHA-1";
this.inputType = "ArrayBuffer";
this.outputType = "string";
this.args = [];
diff --git a/src/core/operations/SHA2.mjs b/src/core/operations/SHA2.mjs
index c5480727..4b6b379f 100644
--- a/src/core/operations/SHA2.mjs
+++ b/src/core/operations/SHA2.mjs
@@ -21,6 +21,7 @@ class SHA2 extends Operation {
this.name = "SHA2";
this.module = "Hashing";
this.description = "The SHA-2 (Secure Hash Algorithm 2) hash functions were designed by the NSA. SHA-2 includes significant changes from its predecessor, SHA-1. The SHA-2 family consists of hash functions with digests (hash values) that are 224, 256, 384 or 512 bits: SHA224, SHA256, SHA384, SHA512.
- SHA-512 operates on 64-bit words.
- SHA-256 operates on 32-bit words.
- SHA-384 is largely identical to SHA-512 but is truncated to 384 bytes.
- SHA-224 is largely identical to SHA-256 but is truncated to 224 bytes.
- SHA-512/224 and SHA-512/256 are truncated versions of SHA-512, but the initial values are generated using the method described in Federal Information Processing Standards (FIPS) PUB 180-4.
";
+ this.infoURL = "https://wikipedia.org/wiki/SHA-2";
this.inputType = "ArrayBuffer";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/SHA3.mjs b/src/core/operations/SHA3.mjs
index 9e6b2828..061810a0 100644
--- a/src/core/operations/SHA3.mjs
+++ b/src/core/operations/SHA3.mjs
@@ -22,6 +22,7 @@ class SHA3 extends Operation {
this.name = "SHA3";
this.module = "Hashing";
this.description = "The SHA-3 (Secure Hash Algorithm 3) hash functions were released by NIST on August 5, 2015. Although part of the same series of standards, SHA-3 is internally quite different from the MD5-like structure of SHA-1 and SHA-2.
SHA-3 is a subset of the broader cryptographic primitive family Keccak designed by Guido Bertoni, Joan Daemen, Micha\xebl Peeters, and Gilles Van Assche, building upon RadioGat\xfan.";
+ this.infoURL = "https://wikipedia.org/wiki/SHA-3";
this.inputType = "ArrayBuffer";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/SSDEEP.mjs b/src/core/operations/SSDEEP.mjs
index 02d23eba..faf3ec3e 100644
--- a/src/core/operations/SSDEEP.mjs
+++ b/src/core/operations/SSDEEP.mjs
@@ -21,6 +21,7 @@ class SSDEEP extends Operation {
this.name = "SSDEEP";
this.module = "Hashing";
this.description = "SSDEEP is a program for computing context triggered piecewise hashes (CTPH). Also called fuzzy hashes, CTPH can match inputs that have homologies. Such inputs have sequences of identical bytes in the same order, although bytes in between these sequences may be different in both content and length.
SSDEEP hashes are now widely used for simple identification purposes (e.g. the 'Basic Properties' section in VirusTotal). Although 'better' fuzzy hashes are available, SSDEEP is still one of the primary choices because of its speed and being a de facto standard.
This operation is fundamentally the same as the CTPH operation, however their outputs differ in format.";
+ this.infoURL = "https://forensicswiki.org/wiki/Ssdeep";
this.inputType = "string";
this.outputType = "string";
this.args = [];
diff --git a/src/core/operations/SUB.mjs b/src/core/operations/SUB.mjs
index 5fef815d..c3134aad 100644
--- a/src/core/operations/SUB.mjs
+++ b/src/core/operations/SUB.mjs
@@ -22,6 +22,7 @@ class SUB extends Operation {
this.name = "SUB";
this.module = "Default";
this.description = "SUB the input with the given key (e.g. fe023da5
), MOD 255";
+ this.infoURL = "https://wikipedia.org/wiki/Bitwise_operation#Bitwise_operators";
this.inputType = "byteArray";
this.outputType = "byteArray";
this.args = [
diff --git a/src/core/operations/ScanForEmbeddedFiles.mjs b/src/core/operations/ScanForEmbeddedFiles.mjs
index abbe7c09..a38c477f 100644
--- a/src/core/operations/ScanForEmbeddedFiles.mjs
+++ b/src/core/operations/ScanForEmbeddedFiles.mjs
@@ -22,6 +22,7 @@ class ScanForEmbeddedFiles extends Operation {
this.name = "Scan for Embedded Files";
this.module = "Default";
this.description = "Scans the data for potential embedded files by looking for magic bytes at all offsets. This operation is prone to false positives.
WARNING: Files over about 100KB in size will take a VERY long time to process.";
+ this.infoURL = "https://wikipedia.org/wiki/List_of_file_signatures";
this.inputType = "ArrayBuffer";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/Scrypt.mjs b/src/core/operations/Scrypt.mjs
index c7624e3c..029a1beb 100644
--- a/src/core/operations/Scrypt.mjs
+++ b/src/core/operations/Scrypt.mjs
@@ -23,6 +23,7 @@ class Scrypt extends Operation {
this.name = "Scrypt";
this.module = "Hashing";
this.description = "scrypt is a password-based key derivation function (PBKDF) created by Colin Percival. The algorithm was specifically designed to make it costly to perform large-scale custom hardware attacks by requiring large amounts of memory. In 2016, the scrypt algorithm was published by IETF as RFC 7914.
Enter the password in the input to generate its hash.";
+ this.infoURL = "https://wikipedia.org/wiki/Scrypt";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/SetDifference.mjs b/src/core/operations/SetDifference.mjs
index 0962fda2..ce272880 100644
--- a/src/core/operations/SetDifference.mjs
+++ b/src/core/operations/SetDifference.mjs
@@ -20,7 +20,8 @@ class SetDifference extends Operation {
this.name = "Set Difference";
this.module = "Default";
- this.description = "Calculates the difference of two sets.";
+ this.description = "Calculates the difference, or relative complement, of two sets.";
+ this.infoURL = "https://wikipedia.org/wiki/Complement_(set_theory)#Relative_complement";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/SetIntersection.mjs b/src/core/operations/SetIntersection.mjs
index 4ede1f98..87cb2b3c 100644
--- a/src/core/operations/SetIntersection.mjs
+++ b/src/core/operations/SetIntersection.mjs
@@ -21,6 +21,7 @@ class SetIntersection extends Operation {
this.name = "Set Intersection";
this.module = "Default";
this.description = "Calculates the intersection of two sets.";
+ this.infoURL = "https://wikipedia.org/wiki/Intersection_(set_theory)";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/SetUnion.mjs b/src/core/operations/SetUnion.mjs
index 6975ffb5..b835605e 100644
--- a/src/core/operations/SetUnion.mjs
+++ b/src/core/operations/SetUnion.mjs
@@ -21,6 +21,7 @@ class SetUnion extends Operation {
this.name = "Set Union";
this.module = "Default";
this.description = "Calculates the union of two sets.";
+ this.infoURL = "https://wikipedia.org/wiki/Union_(set_theory)";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/Shake.mjs b/src/core/operations/Shake.mjs
index 06914211..21d993b2 100644
--- a/src/core/operations/Shake.mjs
+++ b/src/core/operations/Shake.mjs
@@ -22,6 +22,7 @@ class Shake extends Operation {
this.name = "Shake";
this.module = "Hashing";
this.description = "Shake is an Extendable Output Function (XOF) of the SHA-3 hash algorithm, part of the Keccak family, allowing for variable output length/size.";
+ this.infoURL = "https://wikipedia.org/wiki/SHA-3#Instances";
this.inputType = "ArrayBuffer";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/ShowBase64Offsets.mjs b/src/core/operations/ShowBase64Offsets.mjs
index 43bcbbba..62b8b481 100644
--- a/src/core/operations/ShowBase64Offsets.mjs
+++ b/src/core/operations/ShowBase64Offsets.mjs
@@ -23,6 +23,7 @@ class ShowBase64Offsets extends Operation {
this.name = "Show Base64 offsets";
this.module = "Default";
this.description = "When a string is within a block of data and the whole block is Base64'd, the string itself could be represented in Base64 in three distinct ways depending on its offset within the block.
This operation shows all possible offsets for a given string so that each possible encoding can be considered.";
+ this.infoURL = "https://wikipedia.org/wiki/Base64#Output_padding";
this.inputType = "byteArray";
this.outputType = "html";
this.args = [
diff --git a/src/core/operations/Snefru.mjs b/src/core/operations/Snefru.mjs
index 7f1bbda7..fe6f2cf4 100644
--- a/src/core/operations/Snefru.mjs
+++ b/src/core/operations/Snefru.mjs
@@ -21,6 +21,7 @@ class Snefru extends Operation {
this.name = "Snefru";
this.module = "Hashing";
this.description = "Snefru is a cryptographic hash function invented by Ralph Merkle in 1990 while working at Xerox PARC. The function supports 128-bit and 256-bit output. It was named after the Egyptian Pharaoh Sneferu, continuing the tradition of the Khufu and Khafre block ciphers.
The original design of Snefru was shown to be insecure by Eli Biham and Adi Shamir who were able to use differential cryptanalysis to find hash collisions. The design was then modified by increasing the number of iterations of the main pass of the algorithm from two to eight.";
+ this.infoURL = "https://wikipedia.org/wiki/Snefru";
this.inputType = "ArrayBuffer";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/StandardDeviation.mjs b/src/core/operations/StandardDeviation.mjs
index d2da24f8..8aeecd55 100644
--- a/src/core/operations/StandardDeviation.mjs
+++ b/src/core/operations/StandardDeviation.mjs
@@ -25,6 +25,7 @@ class StandardDeviation extends Operation {
this.name = "Standard Deviation";
this.module = "Default";
this.description = "Computes the standard deviation of a number list. If an item in the string is not a number it is excluded from the list.
e.g. 0x0a 8 .5
becomes 4.089281382128433
";
+ this.infoURL = "https://wikipedia.org/wiki/Standard_deviation";
this.inputType = "string";
this.outputType = "BigNumber";
this.args = [
diff --git a/src/core/operations/Strings.mjs b/src/core/operations/Strings.mjs
index d3f110f9..11ffd3af 100644
--- a/src/core/operations/Strings.mjs
+++ b/src/core/operations/Strings.mjs
@@ -22,6 +22,7 @@ class Strings extends Operation {
this.name = "Strings";
this.module = "Regex";
this.description = "Extracts all strings from the input.";
+ this.infoURL = "https://wikipedia.org/wiki/Strings_(Unix)";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/StripHTTPHeaders.mjs b/src/core/operations/StripHTTPHeaders.mjs
index a46e675c..0473c2dd 100644
--- a/src/core/operations/StripHTTPHeaders.mjs
+++ b/src/core/operations/StripHTTPHeaders.mjs
@@ -20,6 +20,7 @@ class StripHTTPHeaders extends Operation {
this.name = "Strip HTTP headers";
this.module = "Default";
this.description = "Removes HTTP headers from a request or response by looking for the first instance of a double newline.";
+ this.infoURL = "https://wikipedia.org/wiki/Hypertext_Transfer_Protocol#Message_format";
this.inputType = "string";
this.outputType = "string";
this.args = [];
diff --git a/src/core/operations/Substitute.mjs b/src/core/operations/Substitute.mjs
index c2d114a2..5dea901a 100644
--- a/src/core/operations/Substitute.mjs
+++ b/src/core/operations/Substitute.mjs
@@ -19,8 +19,9 @@ class Substitute extends Operation {
super();
this.name = "Substitute";
- this.module = "Ciphers";
+ this.module = "Default";
this.description = "A substitution cipher allowing you to specify bytes to replace with other byte values. This can be used to create Caesar ciphers but is more powerful as any byte value can be substituted, not just letters, and the substitution values need not be in order.
Enter the bytes you want to replace in the Plaintext field and the bytes to replace them with in the Ciphertext field.
Non-printable bytes can be specified using string escape notation. For example, a line feed character can be written as either \n
or \x0a
.
Byte ranges can be specified using a hyphen. For example, the sequence 0123456789
can be written as 0-9
.";
+ this.infoURL = "https://wikipedia.org/wiki/Substitution_cipher";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/Subtract.mjs b/src/core/operations/Subtract.mjs
index ac00156c..df8b1d03 100644
--- a/src/core/operations/Subtract.mjs
+++ b/src/core/operations/Subtract.mjs
@@ -25,6 +25,7 @@ class Subtract extends Operation {
this.name = "Subtract";
this.module = "Default";
this.description = "Subtracts a list of numbers. If an item in the string is not a number it is excluded from the list.
e.g. 0x0a 8 .5
becomes 1.5
";
+ this.infoURL = "https://wikipedia.org/wiki/Subtraction";
this.inputType = "string";
this.outputType = "BigNumber";
this.args = [
diff --git a/src/core/operations/Sum.mjs b/src/core/operations/Sum.mjs
index 97214cda..ac667cf9 100644
--- a/src/core/operations/Sum.mjs
+++ b/src/core/operations/Sum.mjs
@@ -25,6 +25,7 @@ class Sum extends Operation {
this.name = "Sum";
this.module = "Default";
this.description = "Adds together a list of numbers. If an item in the string is not a number it is excluded from the list.
e.g. 0x0a 8 .5
becomes 18.5
";
+ this.infoURL = "https://wikipedia.org/wiki/Summation";
this.inputType = "string";
this.outputType = "BigNumber";
this.args = [
diff --git a/src/core/operations/SwapEndianness.mjs b/src/core/operations/SwapEndianness.mjs
index 21cd4e9c..02958414 100644
--- a/src/core/operations/SwapEndianness.mjs
+++ b/src/core/operations/SwapEndianness.mjs
@@ -23,6 +23,7 @@ class SwapEndianness extends Operation {
this.name = "Swap endianness";
this.module = "Default";
this.description = "Switches the data from big-endian to little-endian or vice-versa. Data can be read in as hexadecimal or raw bytes. It will be returned in the same format as it is entered.";
+ this.infoURL = "https://wikipedia.org/wiki/Endianness";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/SymmetricDifference.mjs b/src/core/operations/SymmetricDifference.mjs
index 071a49d4..249f8086 100644
--- a/src/core/operations/SymmetricDifference.mjs
+++ b/src/core/operations/SymmetricDifference.mjs
@@ -22,6 +22,7 @@ class SymmetricDifference extends Operation {
this.name = "Symmetric Difference";
this.module = "Default";
this.description = "Calculates the symmetric difference of two sets.";
+ this.infoURL = "https://wikipedia.org/wiki/Symmetric_difference";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/SyntaxHighlighter.mjs b/src/core/operations/SyntaxHighlighter.mjs
index bde6fbde..a3f2d273 100644
--- a/src/core/operations/SyntaxHighlighter.mjs
+++ b/src/core/operations/SyntaxHighlighter.mjs
@@ -21,6 +21,7 @@ class SyntaxHighlighter extends Operation {
this.name = "Syntax highlighter";
this.module = "Code";
this.description = "Adds syntax highlighting to a range of source code languages. Note that this will not indent the code. Use one of the 'Beautify' operations for that.";
+ this.infoURL = "https://wikipedia.org/wiki/Syntax_highlighting";
this.inputType = "string";
this.outputType = "html";
this.args = [
diff --git a/src/core/operations/TCPIPChecksum.mjs b/src/core/operations/TCPIPChecksum.mjs
index 6eac366d..705d7480 100644
--- a/src/core/operations/TCPIPChecksum.mjs
+++ b/src/core/operations/TCPIPChecksum.mjs
@@ -21,6 +21,7 @@ class TCPIPChecksum extends Operation {
this.name = "TCP/IP Checksum";
this.module = "Hashing";
this.description = "Calculates the checksum for a TCP (Transport Control Protocol) or IP (Internet Protocol) header from an input of raw bytes.";
+ this.infoURL = "https://wikipedia.org/wiki/IPv4_header_checksum";
this.inputType = "byteArray";
this.outputType = "string";
this.args = [];
diff --git a/src/core/operations/Tail.mjs b/src/core/operations/Tail.mjs
index c9e0d726..adbbbecc 100644
--- a/src/core/operations/Tail.mjs
+++ b/src/core/operations/Tail.mjs
@@ -22,6 +22,7 @@ class Tail extends Operation {
this.name = "Tail";
this.module = "Default";
this.description = "Like the UNIX tail utility.
Gets the last n lines.
Optionally you can select all lines after line n by entering a negative value for n.
The delimiter can be changed so that instead of lines, fields (i.e. commas) are selected instead.";
+ this.infoURL = "https://wikipedia.org/wiki/Tail_(Unix)";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/Tar.mjs b/src/core/operations/Tar.mjs
index a2e8eb70..84674bff 100644
--- a/src/core/operations/Tar.mjs
+++ b/src/core/operations/Tar.mjs
@@ -21,6 +21,7 @@ class Tar extends Operation {
this.name = "Tar";
this.module = "Compression";
this.description = "Packs the input into a tarball.
No support for multiple files at this time.";
+ this.infoURL = "https://wikipedia.org/wiki/Tar_(computing)";
this.inputType = "byteArray";
this.outputType = "File";
this.args = [
diff --git a/src/core/operations/ToBCD.mjs b/src/core/operations/ToBCD.mjs
index 43de14b6..c8fd0c89 100644
--- a/src/core/operations/ToBCD.mjs
+++ b/src/core/operations/ToBCD.mjs
@@ -24,6 +24,7 @@ class ToBCD extends Operation {
this.name = "To BCD";
this.module = "Default";
this.description = "Binary-Coded Decimal (BCD) is a class of binary encodings of decimal numbers where each decimal digit is represented by a fixed number of bits, usually four or eight. Special bit patterns are sometimes used for a sign";
+ this.infoURL = "https://wikipedia.org/wiki/Binary-coded_decimal";
this.inputType = "BigNumber";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/ToBase.mjs b/src/core/operations/ToBase.mjs
index e37431e2..93107903 100644
--- a/src/core/operations/ToBase.mjs
+++ b/src/core/operations/ToBase.mjs
@@ -21,6 +21,7 @@ class ToBase extends Operation {
this.name = "To Base";
this.module = "Default";
this.description = "Converts a decimal number to a given numerical base.";
+ this.infoURL = "https://wikipedia.org/wiki/Radix";
this.inputType = "BigNumber";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/ToBase32.mjs b/src/core/operations/ToBase32.mjs
index 1b217a34..fd0a6136 100644
--- a/src/core/operations/ToBase32.mjs
+++ b/src/core/operations/ToBase32.mjs
@@ -21,6 +21,7 @@ class ToBase32 extends Operation {
this.name = "To Base32";
this.module = "Default";
this.description = "Base32 is a notation for encoding arbitrary byte data using a restricted set of symbols that can be conveniently used by humans and processed by computers. It uses a smaller set of characters than Base64, usually the uppercase alphabet and the numbers 2 to 7.";
+ this.infoURL = "https://wikipedia.org/wiki/Base32";
this.inputType = "byteArray";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/ToBase58.mjs b/src/core/operations/ToBase58.mjs
index 47e0096f..ac3d7267 100644
--- a/src/core/operations/ToBase58.mjs
+++ b/src/core/operations/ToBase58.mjs
@@ -23,6 +23,7 @@ class ToBase58 extends Operation {
this.name = "To Base58";
this.module = "Default";
this.description = "Base58 (similar to Base64) is a notation for encoding arbitrary byte data. It differs from Base64 by removing easily misread characters (i.e. l, I, 0 and O) to improve human readability.
This operation encodes data in an ASCII string (with an alphabet of your choosing, presets included).
e.g. hello world
becomes StV1DL6CwTryKyV
Base58 is commonly used in cryptocurrencies (Bitcoin, Ripple, etc).";
+ this.infoURL = "https://wikipedia.org/wiki/Base58";
this.inputType = "byteArray";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/ToBase64.mjs b/src/core/operations/ToBase64.mjs
index 967ce8ed..f9aa569b 100644
--- a/src/core/operations/ToBase64.mjs
+++ b/src/core/operations/ToBase64.mjs
@@ -21,6 +21,7 @@ class ToBase64 extends Operation {
this.name = "To Base64";
this.module = "Default";
this.description = "Base64 is a notation for encoding arbitrary byte data using a restricted set of symbols that can be conveniently used by humans and processed by computers.
This operation decodes data from an ASCII Base64 string back into its raw format.
e.g. aGVsbG8=
becomes hello
";
+ this.infoURL = "https://wikipedia.org/wiki/Base64";
this.inputType = "ArrayBuffer";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/ToBinary.mjs b/src/core/operations/ToBinary.mjs
index f10f66a7..1ef86ebb 100644
--- a/src/core/operations/ToBinary.mjs
+++ b/src/core/operations/ToBinary.mjs
@@ -22,6 +22,7 @@ class ToBinary extends Operation {
this.name = "To Binary";
this.module = "Default";
this.description = "Displays the input data as a binary string.
e.g. Hi
becomes 01001000 01101001
";
+ this.infoURL = "https://wikipedia.org/wiki/Binary_code";
this.inputType = "byteArray";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/ToCamelCase.mjs b/src/core/operations/ToCamelCase.mjs
index cc42949c..3553810e 100644
--- a/src/core/operations/ToCamelCase.mjs
+++ b/src/core/operations/ToCamelCase.mjs
@@ -22,6 +22,7 @@ class ToCamelCase extends Operation {
this.name = "To Camel case";
this.module = "Code";
this.description = "Converts the input string to camel case.\n
\nCamel case is all lower case except letters after word boundaries which are uppercase.\n
\ne.g. thisIsCamelCase\n
\n'Attempt to be context aware' will make the operation attempt to nicely transform variable and function names.";
+ this.infoURL = "https://wikipedia.org/wiki/Camel_case";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/ToCharcode.mjs b/src/core/operations/ToCharcode.mjs
index db043d79..11006685 100644
--- a/src/core/operations/ToCharcode.mjs
+++ b/src/core/operations/ToCharcode.mjs
@@ -23,6 +23,7 @@ class ToCharcode extends Operation {
this.name = "To Charcode";
this.module = "Default";
this.description = "Converts text to its unicode character code equivalent.
e.g. Γειά σου
becomes 0393 03b5 03b9 03ac 20 03c3 03bf 03c5
";
+ this.infoURL = "https://wikipedia.org/wiki/Plane_(Unicode)";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/ToHTMLEntity.mjs b/src/core/operations/ToHTMLEntity.mjs
index 06b5ff25..53ec4e34 100644
--- a/src/core/operations/ToHTMLEntity.mjs
+++ b/src/core/operations/ToHTMLEntity.mjs
@@ -21,6 +21,7 @@ class ToHTMLEntity extends Operation {
this.name = "To HTML Entity";
this.module = "Default";
this.description = "Converts characters to HTML entities
e.g. &
becomes &
";
+ this.infoURL = "https://wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/ToHex.mjs b/src/core/operations/ToHex.mjs
index 9b1ccade..a7035d4f 100644
--- a/src/core/operations/ToHex.mjs
+++ b/src/core/operations/ToHex.mjs
@@ -22,6 +22,7 @@ class ToHex extends Operation {
this.name = "To Hex";
this.module = "Default";
this.description = "Converts the input string to hexadecimal bytes separated by the specified delimiter.
e.g. The UTF-8 encoded string Γειά σου
becomes ce 93 ce b5 ce b9 ce ac 20 cf 83 ce bf cf 85 0a
";
+ this.infoURL = "https://wikipedia.org/wiki/Hexadecimal";
this.inputType = "ArrayBuffer";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/ToHexContent.mjs b/src/core/operations/ToHexContent.mjs
index af9ae22c..653c2224 100644
--- a/src/core/operations/ToHexContent.mjs
+++ b/src/core/operations/ToHexContent.mjs
@@ -21,7 +21,8 @@ class ToHexContent extends Operation {
this.name = "To Hex Content";
this.module = "Default";
- this.description = "Converts special characters in a string to hexadecimal.
e.g. foo=bar
becomes foo|3d|bar
.";
+ this.description = "Converts special characters in a string to hexadecimal. This format is used by SNORT for representing hex within ASCII text.
e.g. foo=bar
becomes foo|3d|bar
.";
+ this.infoURL = "http://manual-snort-org.s3-website-us-east-1.amazonaws.com/node32.html#SECTION00451000000000000000";
this.inputType = "byteArray";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/ToHexdump.mjs b/src/core/operations/ToHexdump.mjs
index 89ebdc33..0fbec5ce 100644
--- a/src/core/operations/ToHexdump.mjs
+++ b/src/core/operations/ToHexdump.mjs
@@ -21,6 +21,7 @@ class ToHexdump extends Operation {
this.name = "To Hexdump";
this.module = "Default";
this.description = "Creates a hexdump of the input data, displaying both the hexadecimal values of each byte and an ASCII representation alongside.";
+ this.infoURL = "https://wikipedia.org/wiki/Hex_dump";
this.inputType = "ArrayBuffer";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/ToKebabCase.mjs b/src/core/operations/ToKebabCase.mjs
index c293ede8..b7a15497 100644
--- a/src/core/operations/ToKebabCase.mjs
+++ b/src/core/operations/ToKebabCase.mjs
@@ -22,6 +22,7 @@ class ToKebabCase extends Operation {
this.name = "To Kebab case";
this.module = "Code";
this.description = "Converts the input string to kebab case.\n
\nKebab case is all lower case with dashes as word boundaries.\n
\ne.g. this-is-kebab-case\n
\n'Attempt to be context aware' will make the operation attempt to nicely transform variable and function names.";
+ this.infoURL = "https://wikipedia.org/wiki/Kebab_case";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/ToMorseCode.mjs b/src/core/operations/ToMorseCode.mjs
index 3146a114..4770500b 100644
--- a/src/core/operations/ToMorseCode.mjs
+++ b/src/core/operations/ToMorseCode.mjs
@@ -22,6 +22,7 @@ class ToMorseCode extends Operation {
this.name = "To Morse Code";
this.module = "Default";
this.description = "Translates alphanumeric characters into International Morse Code.
Ignores non-Morse characters.
e.g. SOS
becomes ... --- ...
";
+ this.infoURL = "https://wikipedia.org/wiki/Morse_code";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/ToOctal.mjs b/src/core/operations/ToOctal.mjs
index 7cfb4736..842b2b82 100644
--- a/src/core/operations/ToOctal.mjs
+++ b/src/core/operations/ToOctal.mjs
@@ -23,6 +23,7 @@ class ToOctal extends Operation {
this.name = "To Octal";
this.module = "Default";
this.description = "Converts the input string to octal bytes separated by the specified delimiter.
e.g. The UTF-8 encoded string Γειά σου
becomes 316 223 316 265 316 271 316 254 40 317 203 316 277 317 205
";
+ this.infoURL = "https://wikipedia.org/wiki/Octal";
this.inputType = "byteArray";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/ToPunycode.mjs b/src/core/operations/ToPunycode.mjs
index 8951cb5f..6cf5096c 100644
--- a/src/core/operations/ToPunycode.mjs
+++ b/src/core/operations/ToPunycode.mjs
@@ -21,6 +21,7 @@ class ToPunycode extends Operation {
this.name = "To Punycode";
this.module = "Encodings";
this.description = "Punycode is a way to represent Unicode with the limited character subset of ASCII supported by the Domain Name System.
e.g. m\xfcnchen
encodes to mnchen-3ya
";
+ this.infoURL = "https://wikipedia.org/wiki/Punycode";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/ToQuotedPrintable.mjs b/src/core/operations/ToQuotedPrintable.mjs
index aa1025d7..51044021 100644
--- a/src/core/operations/ToQuotedPrintable.mjs
+++ b/src/core/operations/ToQuotedPrintable.mjs
@@ -24,6 +24,7 @@ class ToQuotedPrintable extends Operation {
this.name = "To Quoted Printable";
this.module = "Default";
this.description = "Quoted-Printable, or QP encoding, is an encoding using printable ASCII characters (alphanumeric and the equals sign '=') to transmit 8-bit data over a 7-bit data path or, generally, over a medium which is not 8-bit clean. It is defined as a MIME content transfer encoding for use in e-mail.
QP works by using the equals sign '=' as an escape character. It also limits line length to 76, as some software has limits on line length.";
+ this.infoURL = "https://wikipedia.org/wiki/Quoted-printable";
this.inputType = "byteArray";
this.outputType = "string";
this.args = [];
diff --git a/src/core/operations/ToSnakeCase.mjs b/src/core/operations/ToSnakeCase.mjs
index 10af102b..0cef88fe 100644
--- a/src/core/operations/ToSnakeCase.mjs
+++ b/src/core/operations/ToSnakeCase.mjs
@@ -22,6 +22,7 @@ class ToSnakeCase extends Operation {
this.name = "To Snake case";
this.module = "Code";
this.description = "Converts the input string to snake case.\n
\nSnake case is all lower case with underscores as word boundaries.\n
\ne.g. this_is_snake_case\n
\n'Attempt to be context aware' will make the operation attempt to nicely transform variable and function names.";
+ this.infoURL = "https://wikipedia.org/wiki/Snake_case";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/ToTable.mjs b/src/core/operations/ToTable.mjs
index 5f6b9670..dfade8c1 100644
--- a/src/core/operations/ToTable.mjs
+++ b/src/core/operations/ToTable.mjs
@@ -21,6 +21,7 @@ class ToTable extends Operation {
this.name = "To Table";
this.module = "Default";
this.description = "Data can be split on different characters and rendered as an HTML or ASCII table with an optional header row.
Supports the CSV (Comma Separated Values) file format by default. Change the cell delimiter argument to \\t
to support TSV (Tab Separated Values) or |
for PSV (Pipe Separated Values).
You can enter as many delimiters as you like. Each character will be treat as a separate possible delimiter.";
+ this.infoURL = "https://wikipedia.org/wiki/Comma-separated_values";
this.inputType = "string";
this.outputType = "html";
this.args = [
diff --git a/src/core/operations/ToUNIXTimestamp.mjs b/src/core/operations/ToUNIXTimestamp.mjs
index 6983d617..d8cde848 100644
--- a/src/core/operations/ToUNIXTimestamp.mjs
+++ b/src/core/operations/ToUNIXTimestamp.mjs
@@ -23,6 +23,7 @@ class ToUNIXTimestamp extends Operation {
this.name = "To UNIX Timestamp";
this.module = "Default";
this.description = "Parses a datetime string in UTC and returns the corresponding UNIX timestamp.
e.g. Mon 1 January 2001 11:00:00
becomes 978346800
A UNIX timestamp is a 32-bit value representing the number of seconds since January 1, 1970 UTC (the UNIX epoch).";
+ this.infoURL = "https://wikipedia.org/wiki/Unix_time";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/TranslateDateTimeFormat.mjs b/src/core/operations/TranslateDateTimeFormat.mjs
index 568da94b..08f2d646 100644
--- a/src/core/operations/TranslateDateTimeFormat.mjs
+++ b/src/core/operations/TranslateDateTimeFormat.mjs
@@ -22,6 +22,7 @@ class TranslateDateTimeFormat extends Operation {
this.name = "Translate DateTime Format";
this.module = "Default";
this.description = "Parses a datetime string in one format and re-writes it in another.
Run with no input to see the relevant format string examples.";
+ this.infoURL = "https://momentjs.com/docs/#/parsing/string-format/";
this.inputType = "string";
this.outputType = "html";
this.args = [
diff --git a/src/core/operations/TripleDESDecrypt.mjs b/src/core/operations/TripleDESDecrypt.mjs
index 8f5a295d..47d1df05 100644
--- a/src/core/operations/TripleDESDecrypt.mjs
+++ b/src/core/operations/TripleDESDecrypt.mjs
@@ -23,6 +23,7 @@ class TripleDESDecrypt extends Operation {
this.name = "Triple DES Decrypt";
this.module = "Ciphers";
this.description = "Triple DES applies DES three times to each block to increase key size.
Key: Triple DES uses a key length of 24 bytes (192 bits).
DES uses a key length of 8 bytes (64 bits).
IV: The Initialization Vector should be 8 bytes long. If not entered, it will default to 8 null bytes.
Padding: In CBC and ECB mode, PKCS#7 padding will be used.";
+ this.infoURL = "https://wikipedia.org/wiki/Triple_DES";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/TripleDESEncrypt.mjs b/src/core/operations/TripleDESEncrypt.mjs
index 2384ea3c..e7eb6bca 100644
--- a/src/core/operations/TripleDESEncrypt.mjs
+++ b/src/core/operations/TripleDESEncrypt.mjs
@@ -23,6 +23,7 @@ class TripleDESEncrypt extends Operation {
this.name = "Triple DES Encrypt";
this.module = "Ciphers";
this.description = "Triple DES applies DES three times to each block to increase key size.
Key: Triple DES uses a key length of 24 bytes (192 bits).
DES uses a key length of 8 bytes (64 bits).
You can generate a password-based key using one of the KDF operations.
IV: The Initialization Vector should be 8 bytes long. If not entered, it will default to 8 null bytes.
Padding: In CBC and ECB mode, PKCS#7 padding will be used.";
+ this.infoURL = "https://wikipedia.org/wiki/Triple_DES";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/UNIXTimestampToWindowsFiletime.mjs b/src/core/operations/UNIXTimestampToWindowsFiletime.mjs
index 551b4273..187b98ab 100644
--- a/src/core/operations/UNIXTimestampToWindowsFiletime.mjs
+++ b/src/core/operations/UNIXTimestampToWindowsFiletime.mjs
@@ -22,6 +22,7 @@ class UNIXTimestampToWindowsFiletime extends Operation {
this.name = "UNIX Timestamp to Windows Filetime";
this.module = "Default";
this.description = "Converts a UNIX timestamp to a Windows Filetime value.
A Windows Filetime is a 64-bit value representing the number of 100-nanosecond intervals since January 1, 1601 UTC.
A UNIX timestamp is a 32-bit value representing the number of seconds since January 1, 1970 UTC (the UNIX epoch).
This operation also supports UNIX timestamps in milliseconds, microseconds and nanoseconds.";
+ this.infoURL = "https://msdn.microsoft.com/en-us/library/windows/desktop/ms724284(v=vs.85).aspx";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/URLDecode.mjs b/src/core/operations/URLDecode.mjs
index 552dfe84..dbbee20d 100644
--- a/src/core/operations/URLDecode.mjs
+++ b/src/core/operations/URLDecode.mjs
@@ -20,6 +20,7 @@ class URLDecode extends Operation {
this.name = "URL Decode";
this.module = "URL";
this.description = "Converts URI/URL percent-encoded characters back to their raw values.
e.g. %3d
becomes =
";
+ this.infoURL = "https://wikipedia.org/wiki/Percent-encoding";
this.inputType = "string";
this.outputType = "string";
this.args = [];
diff --git a/src/core/operations/URLEncode.mjs b/src/core/operations/URLEncode.mjs
index 23fd8ec9..2eb5b621 100644
--- a/src/core/operations/URLEncode.mjs
+++ b/src/core/operations/URLEncode.mjs
@@ -20,6 +20,7 @@ class URLEncode extends Operation {
this.name = "URL Encode";
this.module = "URL";
this.description = "Encodes problematic characters into percent-encoding, a format supported by URIs/URLs.
e.g. =
becomes %3d
";
+ this.infoURL = "https://wikipedia.org/wiki/Percent-encoding";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/UnescapeString.mjs b/src/core/operations/UnescapeString.mjs
index 0500eecd..62eab48e 100644
--- a/src/core/operations/UnescapeString.mjs
+++ b/src/core/operations/UnescapeString.mjs
@@ -21,6 +21,7 @@ class UnescapeString extends Operation {
this.name = "Unescape string";
this.module = "Default";
this.description = "Unescapes characters in a string that have been escaped. For example, Don\\'t stop me now
becomes Don't stop me now
.
Supports the following escape sequences:\\n
(Line feed/newline)\\r
(Carriage return)\\t
(Horizontal tab)\\b
(Backspace)\\f
(Form feed)\\xnn
(Hex, where n is 0-f)\\\\
(Backslash)\\'
(Single quote)\\"
(Double quote)\\unnnn
(Unicode character)\\u{nnnnnn}
(Unicode code point)
";
+ this.infoURL = "https://wikipedia.org/wiki/Escape_sequence";
this.inputType = "string";
this.outputType = "string";
this.args = [];
diff --git a/src/core/operations/Untar.mjs b/src/core/operations/Untar.mjs
index 6bca05d0..af029184 100644
--- a/src/core/operations/Untar.mjs
+++ b/src/core/operations/Untar.mjs
@@ -21,6 +21,7 @@ class Untar extends Operation {
this.name = "Untar";
this.module = "Compression";
this.description = "Unpacks a tarball and displays it per file.";
+ this.infoURL = "https://wikipedia.org/wiki/Tar_(computing)";
this.inputType = "byteArray";
this.outputType = "List";
this.presentType = "html";
diff --git a/src/core/operations/Unzip.mjs b/src/core/operations/Unzip.mjs
index 8e6bb633..2766c215 100644
--- a/src/core/operations/Unzip.mjs
+++ b/src/core/operations/Unzip.mjs
@@ -24,6 +24,7 @@ class Unzip extends Operation {
this.name = "Unzip";
this.module = "Compression";
this.description = "Decompresses data using the PKZIP algorithm and displays it per file, with support for passwords.";
+ this.infoURL = "https://wikipedia.org/wiki/Zip_(file_format)";
this.inputType = "ArrayBuffer";
this.outputType = "List";
this.presentType = "html";
diff --git a/src/core/operations/VigenèreDecode.mjs b/src/core/operations/VigenèreDecode.mjs
index b1512a3e..98aef876 100644
--- a/src/core/operations/VigenèreDecode.mjs
+++ b/src/core/operations/VigenèreDecode.mjs
@@ -20,6 +20,7 @@ class VigenèreDecode extends Operation {
this.name = "Vigenère Decode";
this.module = "Ciphers";
this.description = "The Vigenere cipher is a method of encrypting alphabetic text by using a series of different Caesar ciphers based on the letters of a keyword. It is a simple form of polyalphabetic substitution.";
+ this.infoURL = "https://wikipedia.org/wiki/Vigenère_cipher";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/VigenèreEncode.mjs b/src/core/operations/VigenèreEncode.mjs
index 9172ed06..2e02339c 100644
--- a/src/core/operations/VigenèreEncode.mjs
+++ b/src/core/operations/VigenèreEncode.mjs
@@ -21,6 +21,7 @@ class VigenèreEncode extends Operation {
this.name = "Vigenère Encode";
this.module = "Ciphers";
this.description = "The Vigenere cipher is a method of encrypting alphabetic text by using a series of different Caesar ciphers based on the letters of a keyword. It is a simple form of polyalphabetic substitution.";
+ this.infoURL = "https://wikipedia.org/wiki/Vigenère_cipher";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/Whirlpool.mjs b/src/core/operations/Whirlpool.mjs
index 1d32f244..2dc256fb 100644
--- a/src/core/operations/Whirlpool.mjs
+++ b/src/core/operations/Whirlpool.mjs
@@ -21,6 +21,7 @@ class Whirlpool extends Operation {
this.name = "Whirlpool";
this.module = "Hashing";
this.description = "Whirlpool is a cryptographic hash function designed by Vincent Rijmen (co-creator of AES) and Paulo S. L. M. Barreto, who first described it in 2000.
Several variants exist:- Whirlpool-0 is the original version released in 2000.
- Whirlpool-T is the first revision, released in 2001, improving the generation of the s-box.
- Wirlpool is the latest revision, released in 2003, fixing a flaw in the difusion matrix.
";
+ this.infoURL = "https://wikipedia.org/wiki/Whirlpool_(cryptography)";
this.inputType = "ArrayBuffer";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/WindowsFiletimeToUNIXTimestamp.mjs b/src/core/operations/WindowsFiletimeToUNIXTimestamp.mjs
index b3d66476..f5b59037 100644
--- a/src/core/operations/WindowsFiletimeToUNIXTimestamp.mjs
+++ b/src/core/operations/WindowsFiletimeToUNIXTimestamp.mjs
@@ -22,6 +22,7 @@ class WindowsFiletimeToUNIXTimestamp extends Operation {
this.name = "Windows Filetime to UNIX Timestamp";
this.module = "Default";
this.description = "Converts a Windows Filetime value to a UNIX timestamp.
A Windows Filetime is a 64-bit value representing the number of 100-nanosecond intervals since January 1, 1601 UTC.
A UNIX timestamp is a 32-bit value representing the number of seconds since January 1, 1970 UTC (the UNIX epoch).
This operation also supports UNIX timestamps in milliseconds, microseconds and nanoseconds.";
+ this.infoURL = "https://msdn.microsoft.com/en-us/library/windows/desktop/ms724284(v=vs.85).aspx";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/XKCDRandomNumber.mjs b/src/core/operations/XKCDRandomNumber.mjs
index a9481fbf..e5811549 100644
--- a/src/core/operations/XKCDRandomNumber.mjs
+++ b/src/core/operations/XKCDRandomNumber.mjs
@@ -19,7 +19,8 @@ class XKCDRandomNumber extends Operation {
this.name = "XKCD Random Number";
this.module = "Default";
- this.description = "RFC 1149.5 specifies 4 as the standard IEEE-vetted random number.
XKCD #221";
+ this.description = "RFC 1149.5 specifies 4 as the standard IEEE-vetted random number.";
+ this.infoURL = "https://xkcd.com/221/";
this.inputType = "string";
this.outputType = "number";
this.args = [];
diff --git a/src/core/operations/XOR.mjs b/src/core/operations/XOR.mjs
index c3d14a7a..584ec306 100644
--- a/src/core/operations/XOR.mjs
+++ b/src/core/operations/XOR.mjs
@@ -22,6 +22,7 @@ class XOR extends Operation {
this.name = "XOR";
this.module = "Default";
this.description = "XOR the input with the given key.
e.g. fe023da5
Options
Null preserving: If the current byte is 0x00 or the same as the key, skip it.
Scheme:- Standard - key is unchanged after each round
- Input differential - key is set to the value of the previous unprocessed byte
- Output differential - key is set to the value of the previous processed byte
";
+ this.infoURL = "https://wikipedia.org/wiki/XOR";
this.inputType = "byteArray";
this.outputType = "byteArray";
this.args = [
diff --git a/src/core/operations/XORBruteForce.mjs b/src/core/operations/XORBruteForce.mjs
index 131d5a63..6284793f 100644
--- a/src/core/operations/XORBruteForce.mjs
+++ b/src/core/operations/XORBruteForce.mjs
@@ -23,6 +23,7 @@ class XORBruteForce extends Operation {
this.name = "XOR Brute Force";
this.module = "Default";
this.description = "Enumerate all possible XOR solutions. Current maximum key length is 2 due to browser performance.
Optionally enter a string that you expect to find in the plaintext to filter results (crib).";
+ this.infoURL = "https://wikipedia.org/wiki/Exclusive_or";
this.inputType = "byteArray";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/XPathExpression.mjs b/src/core/operations/XPathExpression.mjs
index 7b342004..7e9d768a 100644
--- a/src/core/operations/XPathExpression.mjs
+++ b/src/core/operations/XPathExpression.mjs
@@ -23,6 +23,7 @@ class XPathExpression extends Operation {
this.name = "XPath expression";
this.module = "Code";
this.description = "Extract information from an XML document with an XPath query";
+ this.infoURL = "https://wikipedia.org/wiki/XPath";
this.inputType = "string";
this.outputType = "string";
this.args = [
diff --git a/src/core/operations/Zip.mjs b/src/core/operations/Zip.mjs
index aaa75dbb..54a92726 100644
--- a/src/core/operations/Zip.mjs
+++ b/src/core/operations/Zip.mjs
@@ -36,6 +36,7 @@ class Zip extends Operation {
this.name = "Zip";
this.module = "Compression";
this.description = "Compresses data using the PKZIP algorithm with the given filename.
No support for multiple files at this time.";
+ this.infoURL = "https://wikipedia.org/wiki/Zip_(file_format)";
this.inputType = "ArrayBuffer";
this.outputType = "File";
this.args = [
diff --git a/src/core/operations/ZlibDeflate.mjs b/src/core/operations/ZlibDeflate.mjs
index 40f09dc5..d4685704 100644
--- a/src/core/operations/ZlibDeflate.mjs
+++ b/src/core/operations/ZlibDeflate.mjs
@@ -24,6 +24,7 @@ class ZlibDeflate extends Operation {
this.name = "Zlib Deflate";
this.module = "Compression";
this.description = "Compresses data using the deflate algorithm adding zlib headers.";
+ this.infoURL = "https://wikipedia.org/wiki/Zlib";
this.inputType = "ArrayBuffer";
this.outputType = "ArrayBuffer";
this.args = [
diff --git a/src/core/operations/ZlibInflate.mjs b/src/core/operations/ZlibInflate.mjs
index 36f841d5..a796cb3e 100644
--- a/src/core/operations/ZlibInflate.mjs
+++ b/src/core/operations/ZlibInflate.mjs
@@ -29,6 +29,7 @@ class ZlibInflate extends Operation {
this.name = "Zlib Inflate";
this.module = "Compression";
this.description = "Decompresses data which has been compressed using the deflate algorithm with zlib headers.";
+ this.infoURL = "https://wikipedia.org/wiki/Zlib";
this.inputType = "ArrayBuffer";
this.outputType = "ArrayBuffer";
this.args = [
diff --git a/src/web/HTMLOperation.mjs b/src/web/HTMLOperation.mjs
index 1a6146e4..5d124708 100755
--- a/src/web/HTMLOperation.mjs
+++ b/src/web/HTMLOperation.mjs
@@ -26,6 +26,7 @@ class HTMLOperation {
this.name = name;
this.description = config.description;
+ this.infoURL = config.infoURL;
this.manualBake = config.manualBake || false;
this.config = config;
this.ingList = [];
@@ -46,8 +47,10 @@ class HTMLOperation {
let html = "${titleFromWikiLink(this.infoURL)}` : "";
+
html += ` data-container='body' data-toggle='popover' data-placement='right'
- data-content="${this.description}" data-html='true' data-trigger='hover'
+ data-content="${this.description}${infoLink}" data-html='true' data-trigger='hover'
data-boundary='viewport'`;
}
@@ -119,4 +122,23 @@ class HTMLOperation {
}
+
+/**
+ * Given a URL for a Wikipedia (or other wiki) page, this function returns a link to that page.
+ *
+ * @param {string} url
+ * @returns {string}
+ */
+function titleFromWikiLink(url) {
+ const splitURL = url.split("/");
+ if (splitURL.indexOf("wiki") < 0) {
+ // Not a wiki link, return full URL
+ return `More Informationopen_in_new`;
+ }
+
+ const pageTitle = decodeURIComponent(splitURL[splitURL.length - 1])
+ .replace(/_/g, " ");
+ return `${pageTitle}open_in_new on Wikipedia`;
+}
+
export default HTMLOperation;
diff --git a/src/web/stylesheets/utils/_general.css b/src/web/stylesheets/utils/_general.css
index 5c899769..c40c4ccd 100755
--- a/src/web/stylesheets/utils/_general.css
+++ b/src/web/stylesheets/utils/_general.css
@@ -45,6 +45,11 @@ body {
user-select: none;
}
+.inline-icon {
+ font-size: 12px;
+ padding-left: 2px;
+}
+
.konami {
transform: rotate(180deg);
}