from Sentclose
An end-to-end encryption sdk for developer with user management.
Available in:
- Javascript for the web
- Dart with flutter
- Rust
- User management: Register, login, authentication, authorisation
- Group management: Invite or add member, role management, group encryption
- Handling large files in browser and native
- Rust MRV 1.75.0
- For flutter:
- flutter_rust_bridge_codegen (
cargo install flutter_rust_bridge_codegen
) - cargo-ndk
- llvm
- flutter ffi (
dart pub global activate ffigen
)
- flutter_rust_bridge_codegen (
- For Javascript:
- wasm-pack
- node js min. version 14 lts
Build rust in the current workspace.
cargo build --release
- Build with wasm pack in
implementation/js/sentc_wasm
cd ./implementation/js/sentc_wasm
wasm-pack build --target web
- Build typescript code in
implementation/js/sentc_wasm
cd ./implementation/js/sentc_wasm
npm run build
Build with flutter rust bridge and cargo-ndk.
- In the current workspace, generate the flutter code
flutter_rust_bridge_codegen --rust-input implementation/dart/sentc_flutter_rust/src/sentc.rs --dart-output implementation/dart/sentc/lib/generated.dart --llvm-path <path-to-your-llvm>
- build the android code with cargo-ndk in
implementation/dart/sentc_flutter_rust
cd ./implementation/dart/sentc_flutter_rust
cargo ndk -t armeabi-v7a -t arm64-v8a -t x86 -t x86_64 -o ../sentc/android/src/main/jniLibs build --release