Search code examples
flutterprotocol-buffersprotobuf-c

flutter + protobuf + (some encryption algorithm), is this OK?


flutter + protobuf + (some encryption algorithm), is this OK? do i need to add (some encryption algorithm) for my app while using protobuf? is it able to use protobuf with flutter?


Solution

  • This isn't really a great question, you might want to narrow it down a bunch to specific issues you need to resolve.

    Answer:

    • Flutter + protobuf work together just fine. protoc will compile the Dart code and you can run with that.
    • Encryption is an unrelated topic. How you handle it depends on what you need. You can encrypt the protobuf contents if you need to, or not.
    • If you are sending/receiving buffers over the network, then you can use HTTPS to encrypt the data on the wire.

    Summary: Lots of tutorials will cover everything you need to learn about this.