mirror of
https://github.com/gchq/CyberChef
synced 2024-12-29 14:03:10 +00:00
Tidied up CBOR operations
This commit is contained in:
parent
88e3c2ccb2
commit
ff88d30d2f
4 changed files with 8 additions and 11 deletions
|
@ -19,13 +19,12 @@ class CBORDecode extends Operation {
|
|||
super();
|
||||
|
||||
this.name = "CBOR Decode";
|
||||
this.module = "Default";
|
||||
this.description = "Decode Concise Binary Object Representation (CBOR) data format (RFC7049) to JSON.";
|
||||
this.infoURL = "https://cbor.io";
|
||||
this.module = "Serialise";
|
||||
this.description = "Concise Binary Object Representation (CBOR) is a binary data serialization format loosely based on JSON. Like JSON it allows the transmission of data objects that contain name–value pairs, but in a more concise manner. This increases processing and transfer speeds at the cost of human readability. It is defined in IETF RFC 8949.";
|
||||
this.infoURL = "https://wikipedia.org/wiki/CBOR";
|
||||
this.inputType = "ArrayBuffer";
|
||||
this.outputType = "JSON";
|
||||
this.args = [
|
||||
];
|
||||
this.args = [];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -19,9 +19,9 @@ class CBOREncode extends Operation {
|
|||
super();
|
||||
|
||||
this.name = "CBOR Encode";
|
||||
this.module = "Default";
|
||||
this.description = "2";
|
||||
this.infoURL = "https://cbor.io";
|
||||
this.module = "Serialise";
|
||||
this.description = "Concise Binary Object Representation (CBOR) is a binary data serialization format loosely based on JSON. Like JSON it allows the transmission of data objects that contain name–value pairs, but in a more concise manner. This increases processing and transfer speeds at the cost of human readability. It is defined in IETF RFC 8949.";
|
||||
this.infoURL = "https://wikipedia.org/wiki/CBOR";
|
||||
this.inputType = "JSON";
|
||||
this.outputType = "ArrayBuffer";
|
||||
this.args = [];
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
/**
|
||||
* From Hex Tests.
|
||||
* CBOR Decode Tests
|
||||
*
|
||||
* @author Danh4 [dan.h4@ncsc.gov.uk]
|
||||
*
|
||||
* @copyright Crown Copyright 2019
|
||||
* @license Apache-2.0
|
||||
*/
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
* CBOR Encode Tests.
|
||||
*
|
||||
* @author Danh4 [dan.h4@ncsc.gov.uk]
|
||||
*
|
||||
* @copyright Crown Copyright 2019
|
||||
* @license Apache-2.0
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue