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

Variable length for splitStringsChunkLength #1237

Open
piranna opened this issue Feb 26, 2024 · 0 comments
Open

Variable length for splitStringsChunkLength #1237

piranna opened this issue Feb 26, 2024 · 0 comments

Comments

@piranna
Copy link

piranna commented Feb 26, 2024

Is your feature request related to a problem? Please describe.

splitStringsChunkLength split the strings in a fixed length, that can lead to some tips about how to recompose the original strings. I propose to split them on random lengths.

Describe the solution you'd like

Allow to define a function instead of a number is the most general solution. Alternatively we can use an array, although still not sure if it should have two values defining a range, or being a list of the desired lengths. That later one can help with base64 encoding, because if strings are split in multiples of 3, there are no tailing = characters that can provide a tip they are end of base64 encoded strings instead of random data that can be at any position.

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

No branches or pull requests

1 participant