Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stand alone backend #1

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
Draft

Stand alone backend #1

wants to merge 12 commits into from

Conversation

njhuffman
Copy link

This PR is not for merging. It just seems a nice way to enable shared comments. Can close if anyone has a better suggestion.

njhuffman added 12 commits June 23, 2024 09:29
Easiest to keep the files at the highest level, until I better
understand how go is generally organized.
The methods under keys.go handle generating and tracking keys,
nonces, salts, etc.
Using ReedSolomon bits requires buffering some state, add types
to help manage that.
Generating the FEC objects on the fly turns out to be very slow.
Need to keep the 128 bit one around for the body encoding/decoding,
might want to switch the others later to pattern match.
Still wip, but want to put it up now since I linked this branch
and want to show everything currently done
Added cache for FEC objects of any size.

Added docstrings for each class / method.

Renamed to make it clear that the RSEncoder/RSDecoder are for the
body encodings, not the header ones.
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.

1 participant