feat: add base32 encoding plugin#116
Open
Lalatenduswain wants to merge 1 commit into
Open
Conversation
00de773 to
ae6b72f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a Base32 encoding plugin, completing the encoding family alongside the existing
base64,hex,binary,octal, anddecimalplugins.Base32 uses the
A-Z2-7alphabet, so it tokenises differently from Base64 and can slip past guardrails/filters that only account for Base64-style payloads — a distinct obfuscation vector for evaluation.Changes
spikee/plugins/base32.py— new plugin, mirrors the structure ofbase64.py(subclassesPlugin, taggedENCODING).tests/functional/test_spikee_list.py— assertbase32is discoverable viaspikee list plugins.docs/02_builtin.md— addbase32to the built-in plugins reference table.Usage
Testing
spikee list pluginsshowsbase32under Encoding.test_spikee_list,test_module_loading, and the fulltest_spikee_generatesuite — 113 passed).