Skip to content
pubscout

diffie_hellman

1.4.0, released a year ago by xeertz.com

Dart implementation of finite field Diffie-Hellman based on PKCS#3.

WASM-ready
$ flutter pub add diffie_hellman
Source repository

What it does

Provides a pure Dart implementation of finite field Diffie-Hellman cryptographic key exchange based on PKCS#3. Includes support for multiple predefined DH groups and PEM serialization.

AI-written summary of version 1.4.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to perform Diffie-Hellman key exchanges in pure Dart.
  • You require support for PKCS#3 standard finite field groups.

Skip it when

  • You need Elliptic Curve Diffie-Hellman instead of finite field Diffie-Hellman.

Strengths

  • Pure Dart implementation with no native platform dependencies for cryptography
  • Supports multiple standard DH groups

Weaknesses

  • Limited to finite field Diffie-Hellman based on PKCS#3

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
3

not documented

Works with

Packages commonly used together with diffie_hellman: ones it builds on, ones built on it, and its own family.