MixinNetwork / libsignal_protocol_dart

Signal Protocol library for Dart/Flutter
https://pub.dev/packages/libsignal_protocol_dart
GNU General Public License v3.0
159 stars 42 forks source link

Can we get rid of PointyCastle? #66

Open delfme opened 1 year ago

delfme commented 1 year ago

PointyCastle was a natural choice when plugin was coded initially. However, it is so damn slow even for simple text messages.

Can you guys plan a switch to native-crypto? https://github.com/hugo-pcl/native-crypto-flutter

Tougee commented 1 year ago

This native-crypto only supports Android and iOS platforms, so we are not considering using it at this time.

crossle commented 1 year ago

Do you have test the speed? If simple text?

PointyCastle was a natural choice when plugin was coded initially.

However, it is so damn slow even for simple text messages.

Can you guys plan a switch to native-crypto?

https://github.com/hugo-pcl/native-crypto-flutter

iosephmagno commented 1 year ago

Well actually it is not an issue. With small text is performs good enough. That native plugin can be used only to encrypt files

crossle commented 1 year ago

Maybe we can provide an optional item for the use native crypto library on Android and iOS.

iosephmagno commented 1 year ago

@crossle that’s cool. I mean mobile is the core platform, ad hoc optimization would be much appreciated.