-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Feature request: SOSEMANUK, Salsa Variants, ChaCha Variants, HC-256, HC-128, RC5, RC6, TEA, XTEA #1603
Comments
Was gonna check if there was already a feature request for TEA - TEA/ChaCha/Salsa are sorely missing in CyberChef and would be excellent additions otherwise. |
Note that ChaCha8 and ChaCha12 are already available through the ChaCha operation; you can set the round number from 20 to 12 or 8. Or am I overlooking something in your request? |
ChaCha is present yea, the others are not though |
@stevemk14ebr Salsa, ChaCha and XXTea are now present in the application. Would you be willing to break the others out into separate issues? It should make it easier for people to contribute individual features, ❤️ . |
Sure! Give me a few days please and I will. Thank you!! |
Done, please see: TEA & XTEA: #1774 I grouped like algos together for lower overhead, even though they're distinct in some cases. There's probably a few more, but these are the major ones IMHO at least. Thanks for adding the ones you have already, note that XXTEA, XTEA, and TEA all are distinct. Additional: |
Is your feature request related to a problem? Please describe.
The ciphers SOSEMANUK, Salsa, ChaCha8, ChaCha12, HC-256, HC-128, RC5, RC6, TEA, XTEA are all currently missing, but are ones I have seen used in malware at one point or another or are otherwise popular.
Describe the solution you'd like
Please consider adding support for these ciphers
Describe alternatives you've considered
Using other tools or creating custom one off decoders is the current workaround
Additional context
ChaCha variants: https://cr.yp.to/chacha.html vary in the internal number of rounds they compute
Reference
ChaCha8: https://cr.yp.to/streamciphers/timings/estreambench/submissions/salsa20/chacha8/ref/chacha.c
ChaCha12: https://cr.yp.to/streamciphers/timings/estreambench/submissions/salsa20/chacha12/ref/chacha.c
ChaCha20: https://cr.yp.to/streamciphers/timings/estreambench/submissions/salsa20/chacha20/ref/chacha.c
Salsa20: https://cr.yp.to/snuffle/salsa20/ref/salsa20.c
Salsa 20/8 and Salsa 20/12 variants:
https://cr.yp.to/snuffle/812.pdf
I could not find a reference implementation for these variants, but exactly like chacha variants. They only vary in the number of internal rounds. Please also include the variants with differing rounds or make it a parameter which defaults to 20.
SOSEMANUK: https://www.ecrypt.eu.org/stream/e2-sosemanuk.html
TEA: https://en.wikipedia.org/wiki/Tiny_Encryption_Algorithm
XTEA: https://en.wikipedia.org/wiki/XTEA
The text was updated successfully, but these errors were encountered: