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

Encryption Layering / chaining #23

Closed
AlexKollar opened this issue Oct 11, 2022 · 3 comments · Fixed by #25
Closed

Encryption Layering / chaining #23

AlexKollar opened this issue Oct 11, 2022 · 3 comments · Fixed by #25
Assignees
Labels
enhancement New feature or request hacktoberfest-accepted help wanted Extra attention is needed QA QA Tag for review / fixing issues.

Comments

@AlexKollar
Copy link
Collaborator

AlexKollar commented Oct 11, 2022

One big feature of the previous version was encryption layering.
So the syntax was something to tune of:

cryptex b64 -e -t "Hello Code! " + hex -e

Would output the encryption made in base64 which then encoded to hex.
So it would look like:

image

only obviously its one command instead of two. Cutting out the middle man or men. The magic was we were able to chain multiple encryptions together on one command to produce some really cool results. Just ask @GamerChillz he has an encryption in his profile we have yet to solve.

@AlexKollar
Copy link
Collaborator Author

OH lord... Imagine being able to drop all of this into one command...
cryptex pswd -e -len 12 + hex -e + b64 -e -o filename.txt
image

@marvhus
Copy link
Contributor

marvhus commented Oct 11, 2022

A trick to do this is to split the args on " + ",
then loop over the array, then parsing that part of the args, then giving the output to the input, then finaly printing the output.

@ghost ghost added the QA QA Tag for review / fixing issues. label Oct 13, 2022
@ghost
Copy link

ghost commented Oct 13, 2022

Added QA label in regards to pull 25 as merge is pending due to issue resolution.

In addition, @AlexKollar gave approval for closure with comment as merger will resolve this thread as well.

@ghost ghost closed this as completed Oct 13, 2022
@ghost ghost mentioned this issue Oct 13, 2022
5 tasks
@ghost ghost moved this to 🔖 Ready in Cryptex V:1.0.0 Pumpkin Patch Oct 13, 2022
@ghost ghost moved this from 🔖 Ready to 👀 In review in Cryptex V:1.0.0 Pumpkin Patch Oct 13, 2022
@ghost ghost assigned ghost and marvhus Oct 13, 2022
@ghost ghost moved this from 👀 Review to 🔖 Merging in Cryptex V:1.0.0 Pumpkin Patch Oct 13, 2022
@marvhus marvhus moved this from 🔖 Merging to ✅ Complete in Cryptex V:1.0.0 Pumpkin Patch Oct 16, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest-accepted help wanted Extra attention is needed QA QA Tag for review / fixing issues.
Projects
No open projects
Status: Complete
Development

Successfully merging a pull request may close this issue.

2 participants