Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeoqs

Dart FFI bindings for liboqs enabling post-quantum cryptography primitives like ML-KEM and ML-DSA.

pub.devRemove
sodium

Dart bindings for the libsodium cryptographic library for Dart-VM and Web.

pub.devRemove
ScoresHealth6188 (best)
Maintenance86100 (best)
Quality9497 (best)
Popularity1058 (best)
Community680 (best)
Compatibility93100 (best)
UsageDownloads (30 days)43629k (best)
Likes927 (best)
Pub points160 / 160160 / 160
GitHub stars741 (best)
MaintenanceLatest release4.2.0, 4 weeks ago4.1.5, today (best)
Major versions in 12 months21 (best)
Contributors113 (best)
PublisherUnverifiedskycoder42.de
FitPlatformsAndroid, iOS, Windows, macOS, LinuxAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyNoYes
KindFFI (native library)FFI (native library)
Code generationNoYes
Direct dependencies1 (best)12
LicenseMITBSD-3-CLAUSE
Setup effortHighMedium
JudgementStrengths
  • High-performance post-quantum cryptography support via native liboqs bindings.
  • Cross-platform support covering Android, iOS, Windows, macOS, and Linux.
  • Includes constant-time comparison methods to guard against timing side-channels.
  • Supports all major platforms including Dart-VM and Web.
  • Leverages native build hooks to build native dependencies on demand.
  • Provides SecureKey wrappers for managing sensitive material in memory securely.
Weaknesses
  • Requires manual setup and management of native liboqs binaries for each target platform.
  • Changes upstream in liboqs (such as breaking name changes or removed algorithms) directly impact the Dart API behavior.
  • Requires proper cleanup (disposing of `SecureKey` instances) to avoid memory leaks.
  • Web deployment requires manually downloading and adding the `sodium.js` script to your project via helper commands.
WarningsNoneNone
oqs vs sodium: which Flutter package should you use? | pubscout