Search packages, repositories and app categories

Package detailsv4.1.2+1

sodium

Dart bindings for libsodium, for the Dart-VM and for the Web

AndroidiOSWebmacOSWindowsLinux
30-day downloads
30.2K
Likes
27
Pub points
150

Install package

flutter pub add sodium

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Sodium provides Dart bindings for the widely trusted libsodium cryptographic library, enabling secure encryption, decryption, signing, and key management on multiple platforms including Android, iOS, Web, macOS, Windows, and Linux. Designed for ease of use and security, it offers a consistent API across environments, making it ideal for applications requiring robust cryptography. The package is maintained by skycoder42.de and integrates seamlessly with Flutter projects via pub.

Use cases

  • Secure data storage
  • End-to-end encrypted messaging
  • Authentication token handling
  • Secure session management
  • Key derivation and password hashing

Key features

  • Cross-platform crypto support
  • Bindings for Dart-VM and Web
  • Easy-to-use cryptographic primitives
  • Strong security guarantees
  • Well-documented API

Suitable for

  • Apps needing strong encryption
  • Web and mobile apps with privacy requirements
  • Developers prioritizing security best practices
  • Projects using end-to-end encryption
  • Backend services requiring secure operations

Considerations

  • Requires understanding of basic cryptography
  • Not suitable for low-level crypto research
  • May increase app size slightly
  • Depends on native libsodium binaries
  • Limited to supported platforms only

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

packages/sodium/README.md

Categories

Dependencies

Dependency list 12 items

Source repository

Projects using this package