cyberchef 9.34.2 → 9.36.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -13,6 +13,12 @@ All major and minor version changes will be documented in this file. Details of
13
13
 
14
14
  ## Details
15
15
 
16
+ ### [9.36.0] - 2022-03-29
17
+ - 'SIGABA' operation added [@hettysymes] | [#934]
18
+
19
+ ### [9.35.0] - 2022-03-28
20
+ - 'To Base45' and 'From Base45' operations added [@t-8ch] | [#1242]
21
+
16
22
  ### [9.34.0] - 2022-03-28
17
23
  - 'Get All Casings' operation added [@n1073645] | [#1065]
18
24
 
@@ -278,6 +284,8 @@ All major and minor version changes will be documented in this file. Details of
278
284
 
279
285
 
280
286
 
287
+ [9.36.0]: https://github.com/gchq/CyberChef/releases/tag/v9.36.0
288
+ [9.35.0]: https://github.com/gchq/CyberChef/releases/tag/v9.35.0
281
289
  [9.34.0]: https://github.com/gchq/CyberChef/releases/tag/v9.34.0
282
290
  [9.33.0]: https://github.com/gchq/CyberChef/releases/tag/v9.33.0
283
291
  [9.32.0]: https://github.com/gchq/CyberChef/releases/tag/v9.32.0
@@ -395,6 +403,7 @@ All major and minor version changes will be documented in this file. Details of
395
403
  [@Danh4]: https://github.com/Danh4
396
404
  [@john19696]: https://github.com/john19696
397
405
  [@t-8ch]: https://github.com/t-8ch
406
+ [@hettysymes]: https://github.com/hettysymes
398
407
 
399
408
  [8ad18b]: https://github.com/gchq/CyberChef/commit/8ad18bc7db6d9ff184ba3518686293a7685bf7b7
400
409
  [9a33498]: https://github.com/gchq/CyberChef/commit/9a33498fed26a8df9c9f35f39a78a174bf50a513
@@ -469,6 +478,7 @@ All major and minor version changes will be documented in this file. Details of
469
478
  [#865]: https://github.com/gchq/CyberChef/pull/865
470
479
  [#912]: https://github.com/gchq/CyberChef/pull/912
471
480
  [#917]: https://github.com/gchq/CyberChef/pull/917
481
+ [#934]: https://github.com/gchq/CyberChef/pull/934
472
482
  [#948]: https://github.com/gchq/CyberChef/pull/948
473
483
  [#952]: https://github.com/gchq/CyberChef/pull/952
474
484
  [#965]: https://github.com/gchq/CyberChef/pull/965
@@ -482,6 +492,7 @@ All major and minor version changes will be documented in this file. Details of
482
492
  [#1049]: https://github.com/gchq/CyberChef/pull/1049
483
493
  [#1065]: https://github.com/gchq/CyberChef/pull/1065
484
494
  [#1083]: https://github.com/gchq/CyberChef/pull/1083
495
+ [#1242]: https://github.com/gchq/CyberChef/pull/1242
485
496
  [#1244]: https://github.com/gchq/CyberChef/pull/1244
486
497
  [#1313]: https://github.com/gchq/CyberChef/pull/1313
487
498
  [#1326]: https://github.com/gchq/CyberChef/pull/1326
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cyberchef",
3
- "version": "9.34.2",
3
+ "version": "9.36.1",
4
4
  "description": "The Cyber Swiss Army Knife for encryption, encoding, compression and data analysis.",
5
5
  "author": "n1474335 <n1474335@gmail.com>",
6
6
  "homepage": "https://gchq.github.io/CyberChef",
@@ -1207,6 +1207,30 @@ class Utils {
1207
1207
  }[token];
1208
1208
  }
1209
1209
 
1210
+ /**
1211
+ * Iterate object in chunks of given size.
1212
+ *
1213
+ * @param {Iterable} iterable
1214
+ * @param {number} chunksize
1215
+ */
1216
+ static* chunked(iterable, chunksize) {
1217
+ const iterator = iterable[Symbol.iterator]();
1218
+ while (true) {
1219
+ const res = [];
1220
+ for (let i = 0; i < chunksize; i++) {
1221
+ const next = iterator.next();
1222
+ if (next.done) {
1223
+ break;
1224
+ }
1225
+ res.push(next.value);
1226
+ }
1227
+ if (res.length) {
1228
+ yield res;
1229
+ } else {
1230
+ return;
1231
+ }
1232
+ }
1233
+ }
1210
1234
  }
1211
1235
 
1212
1236
  /**
@@ -20,6 +20,8 @@
20
20
  "From Octal",
21
21
  "To Base32",
22
22
  "From Base32",
23
+ "To Base45",
24
+ "From Base45",
23
25
  "To Base58",
24
26
  "From Base58",
25
27
  "To Base62",
@@ -118,7 +120,8 @@
118
120
  "Multiple Bombe",
119
121
  "Typex",
120
122
  "Lorenz",
121
- "Colossus"
123
+ "Colossus",
124
+ "SIGABA"
122
125
  ]
123
126
  },
124
127
  {