diff --git a/src/core/operations/BLAKE2b.mjs b/src/core/operations/BLAKE2b.mjs
index 62709a93..39e9b5fd 100644
--- a/src/core/operations/BLAKE2b.mjs
+++ b/src/core/operations/BLAKE2b.mjs
@@ -23,7 +23,9 @@ class BLAKE2b extends Operation {
this.name = "BLAKE2b";
this.module = "Hashing";
- this.description = "Performs BLAKE2b hashing on the input. Returns the output HEX encoded.";
+ this.description = `Performs BLAKE2b hashing on the input.
+
BLAKE2b is a flavour of the BLAKE cryptographic hash function that is optimized for 64-bit platforms and produces digests of any size between 1 and 64 bytes.
+
Supports the use of an optional key.`;
this.infoURL = "https://wikipedia.org/wiki/BLAKE_(hash_function)#BLAKE2b_algorithm";
this.inputType = "string";
this.outputType = "string";
@@ -56,7 +58,7 @@ class BLAKE2b extends Operation {
if (key.length === 0){
key = null;
} else if (key.length > 64){
- throw new OperationError(["Key cannot be greater than 64 bytes", "It is currently " + key.length +" bytes."].join("\n"));
+ throw new OperationError(["Key cannot be greater than 64 bytes", "It is currently " + key.length + " bytes."].join("\n"));
}
switch (outFormat) {
case "Hex":
diff --git a/src/core/operations/BLAKE2s.mjs b/src/core/operations/BLAKE2s.mjs
index 0ded5eac..7ddb9d2b 100644
--- a/src/core/operations/BLAKE2s.mjs
+++ b/src/core/operations/BLAKE2s.mjs
@@ -22,7 +22,9 @@ class BLAKE2s extends Operation {
this.name = "BLAKE2s";
this.module = "Hashing";
- this.description = "Performs BLAKE2s hashing on the input. Returns the output HEX encoded.";
+ this.description = `Performs BLAKE2s hashing on the input.
+
BLAKE2s is a flavour of the BLAKE cryptographic hash function that is optimized for 8 to 32-bit platforms and produces digests of any size between 1 and 32 bytes.
+
Supports the use of an optional key.`;
this.infoURL = "https://wikipedia.org/wiki/BLAKE_(hash_function)#BLAKE2";
this.inputType = "string";
this.outputType = "string";
@@ -56,7 +58,7 @@ class BLAKE2s extends Operation {
if (key.length === 0){
key = null;
} else if (key.length > 32){
- throw new OperationError(["Key cannot be greater than 32 bytes", "It is currently " + key.length +" bytes."].join("\n"));
+ throw new OperationError(["Key cannot be greater than 32 bytes", "It is currently " + key.length + " bytes."].join("\n"));
}
switch (outFormat) {
case "Hex":