Weekly Update 3

Progress

  • Evaluated potential performance improvements of switching to the native crypto library.
  • Found that switching to the new native crypto library increases speed, but the slow base64 encoding/decoding will be the bottleneck.
  • Did some basic searches for a fast base64 implementation

Plans

  • Confirm the encryption parameters.
    • Since base64 encoding/decoding speed will be the only performance bottleneck after switching to the native crypto library, we can use parameters with stronger security even if they are slightly slower.
  • Make a brief introduction explaining why we choose these encryption parameters.
  • Refine the raw performance report.
  • Try to integrate react-native-quick-crypto into Joplin
    • This might take several weeks
  • Find a faster base64 implementation for React Native, or try to migrate simdutf to React Native.

Problems

None

1 Like