Skip to content

Add COBS encoding/decoding operations#2185

Open
giesmininkas wants to merge 7 commits into
gchq:masterfrom
giesmininkas:master
Open

Add COBS encoding/decoding operations#2185
giesmininkas wants to merge 7 commits into
gchq:masterfrom
giesmininkas:master

Conversation

@giesmininkas

Copy link
Copy Markdown

Added COBS encoding/decoding operations.
Requested by #1811.

@giesmininkas

Copy link
Copy Markdown
Author

Hi! Are there any issues with this PR getting merged? Any fixes to make?

@GCHQDeveloper581 GCHQDeveloper581 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally looks good, however at present the "From COBS" operation needs more detection (and handling) of invalid sequences.

Test case:
http://localhost:8000/#recipe=From_Hex('Auto')From_COBS()To_Hex('Space',0)&input=MDAgNDggNDUgNEMgNEMgNEY&oeol=CR

(adjust URL prefix to suit your local testing environment)

@giesmininkas

Copy link
Copy Markdown
Author

Sorry for that. Updated with additional tests. Should hopefully be good now.

@giesmininkas

Copy link
Copy Markdown
Author

Hi again. Any chance of this getting merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: Consistent Overhead Byte Stuffing

2 participants