You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/core/config/OperationConfig.js
+23-23
Original file line number
Diff line number
Diff line change
@@ -184,8 +184,8 @@ const OperationConfig = {
184
184
"From Base64": {
185
185
module: "Default",
186
186
description: "Base64 is a notation for encoding arbitrary byte data using a restricted set of symbols that can be conveniently used by humans and processed by computers.<br><br>This operation decodes data from an ASCII Base64 string back into its raw format.<br><br>e.g. <code>aGVsbG8=</code> becomes <code>hello</code>",
187
-
highlight: Base64.highlightFrom,
188
-
highlightReverse: Base64.highlightTo,
187
+
highlight: "func",
188
+
highlightReverse: "func",
189
189
inputType: "string",
190
190
outputType: "byteArray",
191
191
args: [
@@ -195,7 +195,7 @@ const OperationConfig = {
195
195
value: Base64.ALPHABET_OPTIONS
196
196
},
197
197
{
198
-
name: "Remove non‑alphabet chars",
198
+
name: "Remove non-alphabet chars",
199
199
type: "boolean",
200
200
value: Base64.REMOVE_NON_ALPH_CHARS
201
201
}
@@ -204,8 +204,8 @@ const OperationConfig = {
204
204
"To Base64": {
205
205
module: "Default",
206
206
description: "Base64 is a notation for encoding arbitrary byte data using a restricted set of symbols that can be conveniently used by humans and processed by computers.<br><br>This operation encodes data in an ASCII Base64 string.<br><br>e.g. <code>hello</code> becomes <code>aGVsbG8=</code>",
207
-
highlight: Base64.highlightTo,
208
-
highlightReverse: Base64.highlightFrom,
207
+
highlight: "func",
208
+
highlightReverse: "func",
209
209
inputType: "byteArray",
210
210
outputType: "string",
211
211
args: [
@@ -228,7 +228,7 @@ const OperationConfig = {
228
228
value: Base58.ALPHABET_OPTIONS
229
229
},
230
230
{
231
-
name: "Remove non‑alphabet chars",
231
+
name: "Remove non-alphabet chars",
232
232
type: "boolean",
233
233
value: Base58.REMOVE_NON_ALPH_CHARS
234
234
}
@@ -259,7 +259,7 @@ const OperationConfig = {
259
259
value: Base64.BASE32_ALPHABET
260
260
},
261
261
{
262
-
name: "Remove non‑alphabet chars",
262
+
name: "Remove non-alphabet chars",
263
263
type: "boolean",
264
264
value: Base64.REMOVE_NON_ALPH_CHARS
265
265
}
@@ -446,8 +446,8 @@ const OperationConfig = {
446
446
"From Hex": {
447
447
module: "Default",
448
448
description: "Converts a hexadecimal byte string back into its raw value.<br><br>e.g. <code>ce 93 ce b5 ce b9 ce ac 20 cf 83 ce bf cf 85 0a</code> becomes the UTF-8 encoded string <code>Γειά σου</code>",
449
-
highlight: ByteRepr.highlightFrom,
450
-
highlightReverse: ByteRepr.highlightTo,
449
+
highlight: "func",
450
+
highlightReverse: "func",
451
451
inputType: "string",
452
452
outputType: "byteArray",
453
453
args: [
@@ -461,8 +461,8 @@ const OperationConfig = {
461
461
"To Hex": {
462
462
module: "Default",
463
463
description: "Converts the input string to hexadecimal bytes separated by the specified delimiter.<br><br>e.g. The UTF-8 encoded string <code>Γειά σου</code> becomes <code>ce 93 ce b5 ce b9 ce ac 20 cf 83 ce bf cf 85 0a</code>",
464
-
highlight: ByteRepr.highlightTo,
465
-
highlightReverse: ByteRepr.highlightFrom,
464
+
highlight: "func",
465
+
highlightReverse: "func",
466
466
inputType: "byteArray",
467
467
outputType: "string",
468
468
args: [
@@ -506,8 +506,8 @@ const OperationConfig = {
506
506
"From Charcode": {
507
507
module: "Default",
508
508
description: "Converts unicode character codes back into text.<br><br>e.g. <code>0393 03b5 03b9 03ac 20 03c3 03bf 03c5</code> becomes <code>Γειά σου</code>",
509
-
highlight: ByteRepr.highlightFrom,
510
-
highlightReverse: ByteRepr.highlightTo,
509
+
highlight: "func",
510
+
highlightReverse: "func",
511
511
inputType: "string",
512
512
outputType: "byteArray",
513
513
args: [
@@ -527,8 +527,8 @@ const OperationConfig = {
527
527
"To Charcode": {
528
528
module: "Default",
529
529
description: "Converts text to its unicode character code equivalent.<br><br>e.g. <code>Γειά σου</code> becomes <code>0393 03b5 03b9 03ac 20 03c3 03bf 03c5</code>",
530
-
highlight: ByteRepr.highlightTo,
531
-
highlightReverse: ByteRepr.highlightFrom,
530
+
highlight: "func",
531
+
highlightReverse: "func",
532
532
inputType: "string",
533
533
outputType: "string",
534
534
args: [
@@ -547,8 +547,8 @@ const OperationConfig = {
547
547
"From Binary": {
548
548
module: "Default",
549
549
description: "Converts a binary string back into its raw form.<br><br>e.g. <code>01001000 01101001</code> becomes <code>Hi</code>",
550
-
highlight: ByteRepr.highlightFromBinary,
551
-
highlightReverse: ByteRepr.highlightToBinary,
550
+
highlight: "func",
551
+
highlightReverse: "func",
552
552
inputType: "string",
553
553
outputType: "byteArray",
554
554
args: [
@@ -562,8 +562,8 @@ const OperationConfig = {
562
562
"To Binary": {
563
563
module: "Default",
564
564
description: "Displays the input data as a binary string.<br><br>e.g. <code>Hi</code> becomes <code>01001000 01101001</code>",
565
-
highlight: ByteRepr.highlightToBinary,
566
-
highlightReverse: ByteRepr.highlightFromBinary,
565
+
highlight: "func",
566
+
highlightReverse: "func",
567
567
inputType: "byteArray",
568
568
outputType: "string",
569
569
args: [
@@ -603,17 +603,17 @@ const OperationConfig = {
603
603
"From Hexdump": {
604
604
module: "Default",
605
605
description: "Attempts to convert a hexdump back into raw data. This operation supports many different hexdump variations, but probably not all. Make sure you verify that the data it gives you is correct before continuing analysis.",
606
-
highlight: Hexdump.highlightFrom,
607
-
highlightReverse: Hexdump.highlightTo,
606
+
highlight: "func",
607
+
highlightReverse: "func",
608
608
inputType: "string",
609
609
outputType: "byteArray",
610
610
args: []
611
611
},
612
612
"To Hexdump": {
613
613
module: "Default",
614
614
description: "Creates a hexdump of the input data, displaying both the hexadecimal values of each byte and an ASCII representation alongside.",
0 commit comments