Skip to content

FialkaApp/fialka-core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fialka-core

Cross-platform cryptographic core for the Fialka secure messaging system.

Replaces BouncyCastle on all platforms via a single Rust library compiled to native code:

Platform Target Bridge
Android aarch64-linux-android .so JNI (FialkaCoreJNI.kt)
Desktop (Windows) x86_64-pc-windows-msvc .dll P/Invoke (FialkaCore.cs)
iOS (future) aarch64-apple-ios .a C FFI

What's in scope

  • crypto/ — Ed25519, X25519, ML-KEM-1024, ML-DSA-44, AES-256-GCM, ChaCha20-Poly1305, HKDF
  • identity/ — Seed (24 BIP-39 words) → all key pairs + Tor v3 .onion address
  • ratchet/ — Double Ratchet + PQXDH (byte-for-byte compatible with Android/Desktop)
  • protocol/ — Wire frame format (0xF1 0xA1 magic header)
  • ffi/ — extern "C" interface, header auto-generated by cbindgen

Build

Android

# Install prerequisites
cargo install cargo-ndk
rustup target add aarch64-linux-android armv7-linux-androideabi x86_64-linux-android

# Build .so for all ABIs
./build_android.sh

Windows Desktop

rustup target add x86_64-pc-windows-msvc
build_windows.bat

License

GPL-3.0 — see LICENSE

Releases

No releases published

Packages

 
 
 

Contributors

Languages