Git Product home page Git Product logo

Comments (3)

lemunozm avatar lemunozm commented on August 9, 2024

Hi @balliegojr,

Yeah! it could be a great addition. I think it is easy, later I will make a PR with this feature.

Regarding encryption, you can do it in both ways with its pros/cons:

  • Choosing the content to encrypt is probably easier and you could encrypt any transport. But maybe, depending on your encryption, losing a UDP packet, for example, would imply that the receiver could no longer decrypt more messages. Also, some bytes could not be sent encrypted if the transport uses some internal header as FramedTcp that sends the size of the packet for each message.
  • Choosing the adapter to encrypt inside of it, is probably harder to program but maybe for your needs, you have more control. Also, your encryption state can be easily stored along with the connection, making transparent its usage from the message-io API. (and ever you could do a PR in the future if you want to make public that adapter 😄 ).

from message-io.

lemunozm avatar lemunozm commented on August 9, 2024

Done in #115
Version 0.14.4 has this change

from message-io.

balliegojr avatar balliegojr commented on August 9, 2024

Hi @lemunozm,

Wow, that was fast!.
Thank you very much

I will see what to do regarding the encryption thing... still not decided yet

from message-io.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.