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

Plugin idea: Feistel cipher over int primary keys #384

Open
benjie opened this issue Jun 21, 2023 · 0 comments
Open

Plugin idea: Feistel cipher over int primary keys #384

benjie opened this issue Jun 21, 2023 · 0 comments
Labels
💅 enhancement New feature or request

Comments

@benjie
Copy link
Member

benjie commented Jun 21, 2023

Codecs may unlock the ability for us to put custom translations in to convert to/from what's in the database. An interesting use case for this might be a feistel cipher - you could tag a particular tables primary key as @feistel and then whenever it's used (even in foreign key relations) it could be automatically converted to a random-looking number on the way out, and converted back to the underlying number away on the way back in. If we've coded everything that use these values (Node IDs, cursors, etc) to use the codecs then this should be possible... I think. It'll be a fun experiment if so!

https://en.wikipedia.org/wiki/Feistel_cipher

@benjie benjie added the 💅 enhancement New feature or request label Jun 21, 2023
@benjie benjie added this to V5.0.0 Oct 4, 2023
@github-project-automation github-project-automation bot moved this to 🌳 Triage in V5.0.0 Oct 4, 2023
@benjie benjie moved this from 🌳 Triage to ✅ Done in V5.0.0 Oct 4, 2023
@benjie benjie moved this from ✅ Done to 🥚 Platypus in V5.0.0 Oct 4, 2023
@benjie benjie removed this from V5.0.0 May 10, 2024
@benjie benjie added this to V5.X May 10, 2024
@github-project-automation github-project-automation bot moved this to 🌳 Triage in V5.X May 10, 2024
@jemgillam jemgillam moved this from 🌳 Triage to 🥚 Platypus in V5.X May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💅 enhancement New feature or request
Projects
Status: 🥚 Platypus
Development

No branches or pull requests

1 participant