dart library

Cryptographic algorithms implemented in pure Dart.

See DartCryptography.

Classes

DartAesCbc
AesCbc implemented in pure Dart.
DartAesCtr
AesCtr implemented in pure Dart.
DartAesGcm
AesGcm implemented in pure Dart.
DartArgon2id
Argon2id (RFC 9106) implemented in pure Dart.
DartArgon2State
State for three Argon2-based algorithms (Argon2d, Argon2i, Argon2id).
DartBlake2b
Blake2b implemented in pure Dart.
DartBlake2s
Blake2s implemented in pure Dart.
DartChacha20
Chacha20 implemented in pure Dart.
DartChacha20Poly1305AeadMacAlgorithm
A pure Dart implementation of AEAD_CHACHA20_POLY1305 message authentication.
DartChacha20Poly1305AeadMacAlgorithmSink
DartChacha20State
State for DartChacha20.
DartCipher
Superclass for pure Dart implementations of Cipher.
DartCipherState
Base class for stream cipher states that XOR key stream bytes with input bytes.
DartCryptography
An implementation of Cryptography in pure Dart.
DartEcdh
Ecdh (P256, P384, P521) implementation in pure Dart. Currently it throws UnimplementedError if you try to use it.
DartEcdsa
Ecdsa (P256, P384, P521) implementation in pure Dart. Currently it throws UnimplementedError if you try to use it.
DartEd25519
Ed25519 signature algorithm implemented in pure Dart.
DartGcm
AesGcm MAC algorithm implemented in pure Dart.
DartHashAlgorithm
DartHashSink
A HashSink that supports synchronous evaluation (hashSync).
DartHChacha20
Hchacha20 implemented in pure Dart.
DartHkdf
Hkdf implemented in pure Dart.
DartHmac
An implementation of Hmac in pure Dart.
DartMacAlgorithm
DartPbkdf2
Pbkdf2 implemented in pure Dart.
DartPoly1305
Poly1305 implemented in pure Dart.
DartPoly1305Sink
MacSink for DartPoly1305.
DartRsaPss
RsaPss implementation in pure Dart. Currently it throws UnimplementedError if you try to use it.
DartRsaSsaPkcs1v15
DartRsaSsaPkcs1v15 implementation in pure Dart. Currently it throws UnimplementedError if you try to use it.
DartSha1
Sha1 implemented by using in package:crypto (a package by Google).
DartSha224
A pure Dart implementation of Sha224.
DartSha256
A pure Dart implementation of Sha256.
DartSha384
Sha384 implemented by using in package:crypto (a package by Google).
DartSha512
Sha512 implemented by using in package:crypto (a package by Google).
DartX25519
X25519 implemented in pure Dart.
DartXchacha20
Xchacha20 implemented in pure Dart.

Enums

DartArgon2Mode
Argon2 mode for DartArgon2State.

Mixins

DartCipherMixin
Base class for Cipher implementations written in Dart.
DartCipherWithStateMixin
DartHashAlgorithmMixin
A HashAlgorithm that supports synchronous evaluation (hashSync).
DartKeyExchangeAlgorithmMixin
A mixin for pure Dart implementations of KeyExchangeAlgorithm.
DartMacAlgorithmMixin
A mixin for pure Dart implementations of MacAlgorithm.
DartMacSinkMixin
A mixin for pure Dart implementations of MacSink
DartSignatureAlgorithmMixin
A mixin for pure Dart implementations of SignatureAlgorithm.
DartStreamingCipherMixin
Base class for StreamingCipher implementations written in Dart.