-
Notifications
You must be signed in to change notification settings - Fork 33
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
Make use of Base64 encoding while transferring messages #21
Comments
Hey ! |
Cool. I am assigning you this issue. Happy Hacktoberfest! 😄 |
Hi @ShubhamPalriwala, Be sure to get yourself registered at https://organize.mlh.io/participants/events/4659-hack-astrosonic, our official Hacktoberfest event to stay in touch with the fellow contributors of this project. Also, feel free to leave a star on the project - should you find it worth your time. Happy hacking! 😄 |
Hi! Edit: Do you want anything that goes through the server to be encoded or only messages users send? |
Hi @varolbora5. thanks for expressing your interest in the issue. You could tag the assignee to see if they are interested to continue and if not, I can have unassigned in favour for your assignment. |
@varolbora5 am still trying to figure which layers require the encoding, if you would also like to do it, let both of us do and whosoever does it first, gets to make a PR. What do you say? If @t0xic0der is okay with this |
@ShubhamPalriwala It's ok for me |
As far as it helps @t0xic0der am happy for you, just warning you, I might be writing my own Base64 algo too! lol jk |
I'm afraid it might not be needed for a simple project like this. We are preferring utility over innovation when it comes to this issue.
Sounds good to me.
Feel free to make a PR. |
hey @t0xic0der, I have a change ready for this ! I did not know about the assignment. Let me know if you want me to keep my PR open. |
@t0xic0der There is one issue I see here when we are trying to encode the messages specifically. When we are encoding the message, it will be converted into bytes, so the approach would be to encode, not just the message but the whole json. This will be in contention with the |
Keep it open for now. If the assignee does not meet the requirements then I might just assign you and begin reviewing your pull request. |
One way to approach this would be to typecast the JSON object to string, and then converting those strings to bytes. I am open to suggestions though if the aforementioned approach makes it slow. |
Base64 does add a bit of redundancy due to padding but it is a much safer and robust way to transfer messages over the network.
The text was updated successfully, but these errors were encountered: