mirror of
https://github.com/gchq/CyberChef
synced 2025-12-22 11:13:38 +00:00
Tweaks to various hashing functions to improve config options
This commit is contained in:
@@ -6,8 +6,8 @@
|
||||
|
||||
import Operation from "../Operation.mjs";
|
||||
import Utils from "../Utils.mjs";
|
||||
import Sm3 from "crypto-api/src/hasher/sm3";
|
||||
import {toHex} from "crypto-api/src/encoder/hex";
|
||||
import Sm3 from "crypto-api/src/hasher/sm3.mjs";
|
||||
import {toHex} from "crypto-api/src/encoder/hex.mjs";
|
||||
|
||||
/**
|
||||
* SM3 operation
|
||||
@@ -35,7 +35,8 @@ class SM3 extends Operation {
|
||||
{
|
||||
name: "Rounds",
|
||||
type: "number",
|
||||
value: 64
|
||||
value: 64,
|
||||
min: 16
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user