Added MD6 operation. Closes #53

This commit is contained in:
n1474335 2017-09-12 14:20:05 +00:00
parent f1fe0b944f
commit a736be7ca8
5 changed files with 83 additions and 20 deletions

View file

@ -247,6 +247,7 @@ const Categories = [
"MD2",
"MD4",
"MD5",
"MD6",
"SHA0",
"SHA1",
"SHA224",

View file

@ -2882,6 +2882,29 @@ const OperationConfig = {
outputType: "string",
args: []
},
"MD6": {
description: "TODO",
run: Hash.runMD6,
inputType: "string",
outputType: "string",
args: [
{
name: "Size",
type: "number",
value: Hash.MD6_SIZE
},
{
name: "Levels",
type: "number",
value: Hash.MD6_LEVELS
},
{
name: "Key",
type: "string",
value: ""
}
]
},
"SHA0": {
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.",
run: Hash.runSHA0,