mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 23:36:16 -04:00
ECDSA rename signature format "Concat HEX" to "P1363 HEX"
this format name is more specific and easier to search for on the internet
This commit is contained in:
parent
8f182e4a9b
commit
7b54d9e873
4 changed files with 27 additions and 27 deletions
|
@ -32,7 +32,7 @@ class ECDSAVerify extends Operation {
|
|||
value: [
|
||||
"Auto",
|
||||
"ASN.1 HEX",
|
||||
"Concat HEX",
|
||||
"P1363 HEX",
|
||||
"JSON"
|
||||
]
|
||||
},
|
||||
|
@ -80,7 +80,7 @@ class ECDSAVerify extends Operation {
|
|||
} else if (input.indexOf("{") !== -1) {
|
||||
inputFormat = "JSON";
|
||||
} else {
|
||||
inputFormat = "Concat HEX";
|
||||
inputFormat = "P1363 HEX";
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -90,7 +90,7 @@ class ECDSAVerify extends Operation {
|
|||
case "ASN.1 HEX":
|
||||
signatureASN1Hex = input;
|
||||
break;
|
||||
case "Concat HEX":
|
||||
case "P1363 HEX":
|
||||
signatureASN1Hex = r.KJUR.crypto.ECDSA.concatSigToASN1Sig(input);
|
||||
break;
|
||||
case "JSON": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue