mirror of
https://github.com/gchq/CyberChef
synced 2025-12-24 04:04:25 +00:00
Improved performance of str/array buffer conversions
This commit is contained in:
@@ -71,7 +71,7 @@ class ParseX509Certificate extends Operation {
|
||||
cert.readCertHex(toHex(fromBase64(input, null, "byteArray"), ""));
|
||||
break;
|
||||
case "Raw":
|
||||
cert.readCertHex(toHex(Utils.strToByteArray(input), ""));
|
||||
cert.readCertHex(toHex(Utils.strToArrayBuffer(input), ""));
|
||||
break;
|
||||
default:
|
||||
undefinedInputFormat = true;
|
||||
|
||||
Reference in New Issue
Block a user